Sahih Muslim 1161 c
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 that Allah's Apostle (ﷺ) said to a person:
Did you observe any fast in the middle of this month (Sha'ban)? He said: No. Thereupon the Messenger of Allah (ﷺ) said: Fast for two days instead of (one fast) when you have completed (fasts of) Ramadan.
Full reference and source
Sahih Muslim 1161 c In-book : Book 13, Hadith 258 USC-MSA web (English) : Book 6, Hadith 2608 (deprecated)
View source on Sunnah.com (opens in a new tab)