Jabir bin Abdullah reported,

Muaz bin Jabal al-Ansari led his companions in the evening prayer and made it long for them, so one of our men withdrew and prayed on his own. Muaz was told about him and said, "He is a hypocrite."When word of this reached the man, he came to the Messenger of Allah ﷺ and informed him of what Muaz had said about him.The Prophet ﷺ said, "Do you want to be one who drives people away, Muaz? When you lead the people in prayer, recite By the sun and its brightness, Glorify the name of your Lord the Most High, By the night when it covers, and Recite in the name of your Lord."

Ibn Majah 986

Sahih

حدثنا محمد بن رمح أنبأنا الليث بن سعد عن أبي الزبير

عن جابر قال

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

ابن ماجه 986صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
He who leads people in prayer should make it brief
Numbering
Darussalam 986
Ibn Majah 986