Following is a compilation of Ahadith that speaks of ways in which we can erase our sins, InshaAllaah!
Repenting
A servant [of Allah's] committed a sin and said:
"�O Allah, forgive me my sin. And He (glorified and exalted be He) said: My servant has committed a sin and has known that he has a Lord who forgives sins and punishes for them. Then he sinned again and said: "O Lord, forgive me my sin. And He (glorified and exalted be He) said: My servant has committed a sin and has known that he has a Lord who forgives sins and punishes for them. Then he sinned again and said:�"O Lord, forgive me my sin. And He (glorified and exalted be He) said: " My servant has committed a sin and has known that he has a Lord who forgives sins and punishes for sins. Do what you wish, for I have forgiven you." [Hadith Qudsi]
O son of Adam, so long as you call upon Me and ask of Me, I shall forgive you for what you have done, and I shall not mind. O son of Adam, were your sins to reach the clouds of the sky and were you then to ask forgiveness of Me, I would forgive you. O son of Adam, were you to come to Me with sins nearly as great as the earth and were you then to face Me, ascribing no partner to Me, I would bring you forgiveness nearly as great at it. [Hadith Qudsi]
Abu Bakr radhiAllahu `anhu reported- "I heard the Prophet sallAllahu `alayhi wa sallam saying:
'Allah forgives the man who commits a sin (then feels ashamed), purifies himself, offers a prayer and seeks His forgiveness.'" Then he recited the 'ayyah:
"And those who, when they do an evil thing or wrong themselves, remember Allah and implore forgiveness for their sins - and who can forgive sins except Allah? - and will not knowingly repeat (the wrong) they did. The reward of such will be forgiveness from their Lord, and gardens underneath which rivers flow, wherein they will abide forever- a bountiful reward for workers." [Quran 3:135-136]
[Abu Dawud, an-Nasa'i, Ibn Majah, al-Baihaqi, and at-Tirmidhi who calls it hasan.]
Performing Wudhu
Narrated Abu Hurayrah radhiAllahu `anhu- Allah's Apostle sallAllahu `alayhi wa sallam said:
'When a bondsman - a Muslim or a believer - washes his face (in course of 'ablution), every sin he contemplated with his eyes will be washed away from his face along with water, or with the last drop of water ; when he washes his hands, every sin they wrought will be effaced from his hands with the water, or with the last drop of water; and when he washes his feet, every sin towards which his feet have walked will be washed away with the water, or with the last drop of water, with the result that he comes out pure from all sins.' [Sahih Muslim]
Narrated Uthman ibn AffanradhiAllahu `anhu- The Messenger of Allah sallAllâhu `alayhi wa sallam said:
'He who performed ablution well, his sins would come out from his body, even coming out from under his nails.' [Sahih Muslim]
Performing Prayer
Narrated Uthman ibn Affan radhiAllahu `anhu- I heard Allah's Apostle sallAllahu `alayhi wa sallam say:
When the time for a prescribed prayer comes, if any Muslim-�performs ablution well and offers his prayer) with humility and bowing, it will be an expiation for his past sins, so long as he has not committed a major sin; and this applies to for all times. [Sahih Muslim]
Narrated Abu Huraira radhiAllahu `anhu- "Allah's Apostle said,
"The congregational prayer of anyone amongst you is more than twenty (five or twenty seven) times in reward than his prayer in the market or in his house, for if he performs ablution completely and then goes to the mosque with the sole intention of performing the prayer, and nothing urges him to proceed to the mosque except the prayer, then, on every step which he takes towards the mosque, he will be raised o ne degree or o ne of his sins will be forgiven. The angels will keep o n asking Allah's forgiveness and blessings for everyone of you so long as he keeps sitting at his praying place. The angels will say, 'O Allah, bless him! O Allah, be merciful to him!' as long as he does not do Hadath or a thing which gives trouble to the other." The Prophet further said, "One is regarded in prayer so long as o ne is waiting for the prayer." [Sahih Al-Bukhari]
Narrated Abu Hurayrah radhiAllahu `anhu- "The Messenger of Allâh sallAllahu `alayhi wa sallam said:
"He who purified himself in his house, and then he walked to o ne of the houses of Allâh for the sake of performing a fard (obligatory act) out of the Fara'id (obligatory acts) of Allah, both his steps (would be significant) as o ne of them would obliterate his sin and the second o ne would raise his status." [Sahih Muslim]
Attending the Jumu'ah Salah
Narrated Abu Hurayrah radhiAllahu `anhu- The Messenger of Allah sallAllahu `alayhi wa sallam said:
"Five prayers and from one �Friday prayer to (the next) Friday prayer is an expiation (of the sins committed in between their intervals) if major sins are not committed." [Sahih Muslim]
Narrated by Salman Al Farsi radhiAllahu `anhu-The Prophet sallAllahu `alayhi wa sallam said,
"Whoever takes a bath o n Friday, purifies himself as much as he can, then uses his (hair) oil or perfumes himself with the scent of his house, then proceeds (for the Jumua prayer) and does not separate two persons sitting together (in the mosque), then prays as much as (Allah has) written for him and then remains silent while the Imam is delivering the Khutba, his sins in-between the present and the last Friday would be forgiven." [Sahih Al-Bukhari]
Doing good deeds
Narrated Ibn Masud radhiAllahu `anhu: A man kissed a woman and then came to Allah's Apostle and told him of that, so this Divine Inspiration was revealed to the Prophet sallAllahu `alayhi wa sallam:
"And offer Prayers perfectly at the two ends of the day, and in some hours of the night; (i.e. (five) compulsory prayers)." Verily, the good deeds remove the evil deeds (small sins). That is a reminder for the mindful." [Qur'aan : 11.114]
The man said, Is this instruction for me only?" The Prophet said, "It is for all those of my followers who encounter a similar situation." [Sahih Al-Bukhari]
Performing Umrah and Hajj
Narrated by Abu Huraira : The Prophet sallAllahu `alayhi wa sallam said:
"Whoever performs Hajj for Allah's pleasure and does not have sexual relations with his wife, and does not do evil or sins then he will return (after Hajj free from all sins) as if he were born anew." [Sahih Al-Bukhari]
Abdullah ibn Mas'ud radhiAllahu `anhu narrated that the Prophet sallAllahu `alayhi wa sallam said:
"Alternate between Hajj and 'Umrah (regularly), for these two remove poverty and sins just as the blacksmith's bellows removes all impurities from metals like iron, gold and silver. The reward for Hajj Mabrur is nothing short of Paradise." [Nasa'i and Tirmidhi, who regards it a sound hadith ]
Narrated Abu Huraira radhiAllahu `anhu- Allah's Apostle sallAllahu `alayhi wa sallam said:
"(The performance of) 'Umra is an expiation for the sins committed (between it and the previous o ne). And the reward of Hajj Mabrur (the o ne accepted by Allah) is nothing except Paradise." [Sahih Al-Bukhari]
Saying Ameen'
Narrated by Abu Huraira radhiAllahu `anhu - The Prophet sallAllahu `alayhi wa sallam said:
"When the Imam says 'Aameen', then you should all say ‘Aamîn’, for the angels say ‘آmîn’ at that time, and he whose ‘آmîn’ coincides with the ‘آmîn’ of the angels, all his past sins will be forgiven." [Sahih Al-Bukhari]
Fasting and performing prayers in the night of Qadr in Ramadan
Narrated by Abu Huraira radhiAllahu `anhu- The Prophet sallAllahu `alayhi wa sallam said:
"Whoever 'fasted the month of Ramadan'�out of sincere Faith (i.e. belief) and hoping for a reward from Alla�h, then all his past sins will be forgiven, and whoever stood for the prayers in the night of Qadr out of sincere Faith and hoping for a reward from Allah, then all his previous sins will be forgiven ." [Sahih Al-Bukhari]
Sending salutations
Abu Talha Al Ansari radhiAllahu `anhu said- "The Prophet, sallAllahu `alayhi wa sallam, woke up one day cheerful and beaming. His companions exclaimed, 'O Prophet of Allah, you woke up today cheerful and beaming.' He replied:
"Yes! A messenger of Allah, the Mighty and the Glorified, came to me and said, "If anyone from your ummah sends you a salutation, Allah will record for him ten good deeds, wipe off ten of his sins, and raise him thereby ten degrees in rank, and He will return his salutation with a similar salutation". [Ahmad] Ibn Kathir considers this a sound hadith ]
Being kind to animals
Narrated Abu Huraira radhiAllahu `anhu- Allah's Apostle sallAllahu `alayhi wa sallam said:
"While a man was walking he felt thirsty and went down a well and drank water from it. o n coming out of it, he saw a dog panting and eating mud because of excessive thirst. The man said, 'This (dog) is suffering from the same problem as that of mine. So he (went down the well), filled his shoe with water, caught hold of it with his teeth and climbed up and watered the dog. Allah thanked him for his (good) deed and forgave him." The people asked, "O Allah's Apostle! Is there a reward for us in serving (the) animals?" He replied, "Yes, there is a reward for serving any animate." [Sahih Al-Bukhari]
Narrated Abu Huraira radhiAllahu `anhu- Allah's Apostle sallAllahu `alayhi wa sallam said:
"A prostitute was forgiven by Allah, because, passing by a panting dog near a well and seeing that the dog was about to die of thirst, she took off her shoe, and tying it with her head-cover she drew out some water for it. So, Allah forgave her because of that." [Sahih Al-Bukhari]
Leaving grey hair
Amr ibn Shu'aib related on the authority of his father from his grandfather that the Prophet sallAllahu `alayhi wa sallam said:
"Do not pluck the grey hairs as they are a Muslim's light. Never a Muslim grows grey in Islam except that Allâh writes for him, due to that, a good deed. And he raises him a degree. And he erases for him, due to that, one of his sins." [Related by Ahmad, Abu Dawud, at-Tirmidhi, an-Nasa'i and Ibn Majah] And Anas said, "We used to hate that a man should pluck out his white hairs from his head or beard." [Sahih Muslim]
Some simple supplications through which we can erase our sins, Insha'Allâh!
Narrated Abu Huraira radhiAllahu `anhu- Allah's Apostle said:
"Whoever says, 'Subhan Allah wa bihamdihi,' o ne hundred times a day, will be forgiven all his sins even if they were as much as the foam of the sea." [Sahih Al-Bukhari]
Narrated Abu Huraira radhiAllahu `anhu- Allah's Apostle sallAllahu `alayhi wa sallam said:
"Whoever says: 'La ilaha illal-lah wahdahu la sharika lahu, lahu-l-mulk wa lahu-l-hamd wa huwa 'ala kulli shai'in qadir,' o ne hundred times will get the same reward as given for manumitting ten slaves; and o ne hundred good deeds will be written in his accounts, and one hundred sins will be deducted from his accounts, and it (his saying) will be a shield for him from Satan o n that day till night, and nobody will be able to do a better deed except the o ne who does more than he." [Sahih Al-Bukhari]
Narrated Abu Hurayrah radhiAllâhu `anhu- Allah's Apostle sallAllahu `alayhi wa sallam said:
"If anyone extols Allah after every prayer thirty-three times [SubhanAllah], and praises Allah thirty-three times [Alhamdulillah], and declares His Greatness thirty-three times [Allah hu Akbar], ninety-nine times in all, and say to complete a hundred: "There is no god but Allâh, having no partner with Him, to Him belongs sovereignty and to Him to praise due, and He is Potent over everything," his sins will be forgiven even if these are as Abundant as the foam of the sea." [Sahih Muslim]
Abu Hurairah radhiAllahu `anhu reported- that the Prophet, sallAllahu `alayhi wa sallam, said:
"If anyone sits in an assembly where there is much clamor and says before getting up to leave, 'Subhanaka Allahumma wa bihamdika, ashadu an-la illaha illa-anta, astaghfiruka wa atubu ilayka' (Glory be to You, O Allah, and I begin with declaring all praise is due to You, I testify that there is no god but You; I ask Your pardon and turn to You in repentance), he will be forgiven any sin that he might have committed while in that assembly."[Tirmidhi and Al-Baihaqi, (Kitab ad-D'wat Al-kabir)]
Mu'adh b. Anas radhiAllahu `anhu reported-that the Prophet, sallAllahu `alayhi wa sallam, said:
"If anyone wears a new garment and says, 'Alhamdu lillahillazi kasaabi hazaa wa razakabehi min ghairi hawlin minna walaa kuwwata' (All praise be to Allah, Who clothed me with this garment and provided it for me, with no power or strength from myself) Allah will forgive all his previous sins." [Abu Dawud, At-Tirmidhi and Ibn Maajah]