كتاب الصلاة
4  
Prayer
Section 1
الفصل الأول
Mishkat al-Masabih 567
Anas told of a man who came and said, “Messenger of God, I have done something which merits punishment, so appoint it for me.” He did not question him about it, and when the time for prayer came the man prayed along with him. Then when the Prophet had finished the prayer the man got up and said, “Messenger of God, I have done something which merits punishment, so appoint for me that God has decreed.” He asked, “Did you not pray along with us?” and when he replied that he had, he said, “Well, God has forgiven you your offence, or “your punishment”. (Bukhari and Muslim.)
وَعَنْ أَنَسٍ قَالَ: جَاءَ رَجُلٌ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي أَصَبْتُ حَدًّا فأقمه عَليّ قَالَ وَلم يسْأَله عَنهُ قَالَ وَحَضَرَتِ الصَّلَاةُ فَصَلَّى مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَلَمَّا قَضَى النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الصَّلَاة قَامَ إِلَيْهِ الرَّجُلُ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي أَصَبْتُ حَدًّا فأقم فِي كتاب الله قَالَ أَلَيْسَ قَدْ صَلَّيْتَ مَعَنَا قَالَ نَعَمْ قَالَ فَإِنَّ اللَّهَ قَدْ غَفَرَ لَكَ ذَنْبَكَ أَو قَالَ حدك "
  مُتَّفَقٌ عَلَيْهِ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 567
In-book reference : Book 4, Hadith 4