Sahih Muslim #2751 · The Book of Fasting

Sahih MuslimImran b. Husain
Sahih Muslim · Book 13 · The Book of Fasting
Sahih Muslim · كتاب 13 · كتاب الصيام
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.
حَدَّثَنَا هَدَّابُ بْنُ خَالِدٍ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ مُطَرِّفٍ، - وَلَمْ أَفْهَمْ مُطَرِّفًا مِنْ هَدَّابٍ - عَنْ عِمْرَانَ بْنِ حُصَيْنٍ، - رضى الله عنهما - أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ لَهُ أَوْ لآخَرَ ‏
"‏ أَصُمْتَ مِنْ سَرَرِ شَعْبَانَ ‏"‏ ‏.‏ قَالَ لاَ ‏.‏ قَالَ ‏"‏ فَإِذَا أَفْطَرْتَ فَصُمْ يَوْمَيْنِ ‏"‏ ‏.‏
Reference : Sahih Muslim 2751In-book reference : Book 13, Hadith 257