Jabir bin Abdullah reported,

A man from the Ansar arrived just as the prayer was being called. He entered the mosque and prayed behind Muaz, but Muaz prolonged the prayer. So the man broke off, prayed by himself in a corner of the mosque, and then left.When Muaz finished the prayer, he was told, "So-and-so did such and such."Muaz said, "If I see the morning, I will surely mention this to the Messenger of Allah ﷺ."Muaz went to the Prophet ﷺ and told him about it, so the Messenger of Allah ﷺ sent for the man and asked him, "What made you do what you did?"The man replied, "Messenger of Allah, I had been working on my watering camel during the day. When I came back, the prayer had already been called, so I entered the mosque and joined him in prayer. He recited such-and-such surah and prolonged the prayer, so I broke off and prayed in a corner of the mosque."The Messenger of Allah ﷺ said, "Are you one who drives people away, Muaz? Are you one who drives people away, Muaz? Are you one who drives people away, Muaz?"

Nasai 832

Sahih

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

عن جابر قال

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

النسائي 832صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Leadership
Chapter
A man leaving the imam's prayer and completing his prayer in a corner of the masjid
Numbering
Darussalam 832
Nasai 832