It wasnarrated that Abu Sa'eed said:
"A man entered the mosque whentheProphet (ﷺ) was delivering the sermon. He said: 'Have youprayed?' He said: 'No.' He said: 'Then pray two Rak'ah.'" (PT)
English reference (PT): Vol. 1, Book 5, Hadith 1113 (PT)
Arabic reference (PT): Book 5, Hadith 1167 (PT)