A man came in while the Prophet ﷺ was delivering the sermon.The Prophet ﷺ asked him, "Have you prayed?"The man replied, "No."He said, "Then pray two rakahs."
حدثنا محمد بن الصباح أنبأنا سفيان بن عيينة عن ابن عجلان عن عياض بن عبد الله
جاء رجل والنبي ﷺ يخطب فقال أصليت قال لا قال فصل ركعتين
[Hasan]. Tirmidhi transmitted it in the Book of Friday Prayer, the chapter on the two rakahs when a man arrives while the imam is delivering the sermon, hadith 511, from the hadith of Sufyan through this chain, and he said, hasan sahih.The wording of Humaydi in his Musnad is, Sufyan told us, he said Muhammad bin Ajlan told us, he said Iyad bin Abdullah told us, from Saad bin Abu Sarh, and so on.