(7) باب قَوْلِهِ تَعَالَى { إِنَّ الْحَسَنَاتِ يُذْهِبْنَ السَّيِّئَاتِ}
Anas reported that a person came to Allah's Apostle (ﷺ) said:
Allah's Messenger, I have committed an offence which deserves imposition of haad, so impose it upon me according to the Book of Allah. Thereupon he said: Were you not present with us at the time of prayer? He said: Yes. Thereupon he said: You have been granted pardon.
Reference: Sahih Muslim 2764
In-book reference: Book 50, Hadith 52
USC-MSA web (English) reference(deprecated numbering scheme): Book 37, Hadith 6660
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.