Sunan Ibn Majah, Book 5, Hadith 311 (Ibn Majah 1113)

It was narrated that Abu Sa’eed said:

“A man entered the mosque when the Prophet (ﷺ) was delivering the sermon. He said: ‘Have you prayed?’ He said: ‘No.’ He said: ‘Then pray two Rak’ah.’”