And if you do not do it, then take a notice of war from Allaah and His Messenger but if you repent, you shall have your capital sums. Deal not unjustly (by asking more than your capital sums), and you shall not be dealt with unjustly (by receiving less than your capital sums). (Surah al-Baqarah 2:279)
In my country, everything has taxes and interest. If I purchase a land or gold, over time I incur interest which is mine to keep, but riba is sinful (haram).
Can I take the interest and use it for good use?
For example, use the interest to give to charity, donate to a mosque. Is that considered haram?