Abdullah bin Sarjas reported,

A man came while the Messenger of Allah ﷺ was performing the dawn prayer. He prayed two units of prayer on his own, then joined the congregation. When the Messenger of Allah ﷺ finished his prayer, he asked, "So-and-so, which of the two was your real prayer, the one you prayed with us or the one you prayed by yourself?"

Nasai 869

Sahih

أخبرنا يحيى بن حبيب بن عربي قال حدثنا حماد قال حدثنا عاصم

عن عبد الله بن سرجس قال

جاء رجل ورسول الله ﷺ في صلاة الصبح فركع الركعتين ثم دخل فلما قضى رسول الله ﷺ صلاته قال يا فلان أيهما صلاتك التي صليت معنا أو التي صليت لنفسك

النسائي 869صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Leadership
Chapter
Regarding those who pray the two rakah of Fajr while the imam is in the prayer
Numbering
Darussalam 869
Nasai 869