Praise be to Allaah.
Giving voluntary charity is a confirmed Sunnah at all times, as is indicated by the Qurâaan and Sunnah and the consensus of the scholars. It says in Kashshaaf al-Qinaaâ (2/295): Voluntary charity is mustahabb at all times according to consensus, because Allah, may He be exalted, enjoined it and encouraged itâ¦ End quote. See also the answer to question no. 36783.
What is required of the Muslim if he commits a sin is to repent to Allah from it immediately, because Allah, may He be exalted, says (interpretation of the meaning):
âAnd all of you beg Allaah to forgive you all, O believers, that you may be successfulâ
And His Messenger (blessings and peace of Allah be upon him) instructed us to repent, as he said: âO people, repent to Allaah, for I repent to Allaah one hundred times a day.â Narrated by Muslim (2702). See also the answer to question no. 129479.
If the sin had to do with the rights of another person, such as stealing or usurping property, the right must be restored to the one to whom it belongs, or his pardon and forgiveness should be sought. For more information on the other conditions of sincere repentance, please see the answer to question no. 104241.