'Imran b. Husain (Allah be pleased with them) reported Allah's Messenger (may peace he upon him) 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.
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.
'Imran b. Husain (Allah be pleased with them) reported that the Messenger of Allah (ﷺ) said to a person
Did you observe fast in the middle of this month. i. e. Sha'ban ? He said : No. Thereupon he said to him : When it is the end of Ramadan , then observe fast for one day or two (Shu'ba had some doubt about it) but he said : I think that he has said : two days.
This hadith is narrated by 'Abdullah b. Hani b. Akhi Mutarrif with the same chain of transmitters.