حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، أَنْبَأَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنِ ابْنِ عَجْلاَنَ، عَنْ عِيَاضِ بْنِ عَبْدِ اللَّهِ، عَنْ أَبِي سَعِيدٍ، قَالَ جَاءَ رَجُلٌ وَالنَّبِيُّ ـ صلى الله عليه وسلم ـ يَخْطُبُ فَقَالَ ‏"‏ أَصَلَّيْتَ ‏"‏ ‏.‏ قَالَ لاَ ‏.‏ قَالَ ‏"‏ فَصَلِّ رَكْعَتَيْنِ ‏"‏ ‏.‏

It wasnarrated that Abu Sa’eed said: “A man entered the mosque whentheProphet (PBUH) was delivering the sermon. He said: ‘Have youprayed?’ He said: ‘No.’ He said: ‘Then pray two Rak’ah.’” Translation Not Available

Book Ref: Sunan Ibn Majah Book 5 Hadith 1113
Web Ref:  Sunan Ibn Majah Vol 1 Book 5 Hadith 1113