367. If any sin occurred
Narrated by Ali ibn abu Talib: Abu Bakr narrated to me a hadith, and Abu Bakr narrated it truthfully. He said: I heard the Messenger of Allah (ﷺ) saying: When a servant (of Allah) commits a sin, and he performs ablution well, and then stands and prays two rak'ahs, and asks pardon of Allah, Allah pardons him. He then recited this verse: And those who, when they commit an immorality or wrong themselves [by transgression], remember Allah and seek forgiveness for their sins - and who can forgive sins except Allah? - and [who] do not persist in what they have done while they know. Those - their reward is forgiveness from their Lord and gardens beneath which rivers flow [in Paradise], wherein they will abide eternally; and excellent is the reward of the [righteous] workers.(Surah Al 'Imran 3: 135-136)
Related Duas:
Dua in an angry state
When faced with a difficult matter
Dua for expelling the devil and his whisperings #3
Dua when afflicted by whisperings of the devil in prayer or recitation
Prayers and answers for the father of the newborn #2
Satan's enmity towards the newborn
Praying to Allah for refuge from the evil of something
If afflicted with doubt in one's faith #1
Prayers and answers for the father of the newborn #1
When you enter the mosque, seek refuge from the devil #2
What should be said to chase shaytaan
When you enter the mosque, seek refuge from the devil #1