Sahih al-Bukhari 30:90
Narrated Mutarrif from `Imran Ibn Husain:
That the Prophet (ﷺ) asked him (Imran) or asked a man and `Imran was listening, "O Abu so-and-so! Have you fasted the last days of this month?" (The narrator thought that he said, "the month of Ramadan"). The man replied, "No, O Allah's Messenger (ﷺ)!" The Prophet (ﷺ) said to him, "When you finish your fasting (of Ramadan) fast two days (in Shawwal)." Through another series of narrators `Imran said, "The Prophet (ﷺ) said, '(Have you fasted) the last days of Sha'ban?"
Reference
Sahih al-Bukhari 30:90
In-book reference
Book 30, Hadith 90
Arabic Text
حَدَّثَنَا الصَّلْتُ بْنُ مُحَمَّدٍ، حَدَّثَنَا مَهْدِيٌّ، عَنْ غَيْلاَنَ،. وَحَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا مَهْدِيُّ بْنُ مَيْمُونٍ، حَدَّثَنَا غَيْلاَنُ بْنُ جَرِيرٍ، عَنْ مُطَرِّفٍ، عَنْ عِمْرَانَ بْنِ حُصَيْنٍ ـ رضى الله عنهما ـ عَنِ النَّبِيِّ صلى الله عليه وسلم. أَنَّهُ سَأَلَهُ ـ أَوْ سَأَلَ رَجُلاً وَعِمْرَانُ يَسْمَعُ ـ فَقَالَ " يَا أَبَا فُلاَنٍ أَمَا صُمْتَ سَرَرَ هَذَا الشَّهْرِ ". قَالَ أَظُنُّهُ قَالَ يَعْنِي رَمَضَانَ. قَالَ الرَّجُلُ لاَ يَا رَسُولَ اللَّهِ. قَالَ " فَإِذَا أَفْطَرْتَ فَصُمْ يَوْمَيْنِ ". لَمْ يَقُلِ الصَّلْتُ أَظُنُّهُ يَعْنِي رَمَضَانَ. قَالَ أَبُو عَبْدِ اللَّهِ وَقَالَ ثَابِثٌ عَنْ مُطَرِّفٍ عَنْ عِمْرَانَ عَنِ النَّبِيِّ صلى الله عليه وسلم " مِنْ سَرَرِ شَعْبَانَ ".