Sahih Muslim 1161 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا هَدَّابُ بْنُ خَالِدٍ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ مُطَرِّفٍ، - وَلَمْ أَفْهَمْ مُطَرِّفًا مِنْ هَدَّابٍ - عَنْ عِمْرَانَ بْنِ حُصَيْنٍ، - رضى الله عنهما - أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ لَهُ أَوْ لآخَرَ أَصُمْتَ مِنْ سَرَرِ شَعْبَانَ " . قَالَ لاَ . قَالَ " فَإِذَا أَفْطَرْتَ فَصُمْ يَوْمَيْنِ " ."
Imran b. Husain (Allah be pleased with them) reported Allah's Messenger (ﷺ) having said to him or to someone else:
Did you fast in the middle of Sha'ban? He said: No. Thereupon he (the Holy Prophet) said: If you did not observe fast, then you should observe fast for two days.
Full reference and source
Sahih Muslim 1161 b In-book : Book 13, Hadith 257 USC-MSA web (English) : Book 6, Hadith 2607 (deprecated)
View source on Sunnah.com (opens in a new tab)