Qays bin Abbad reported,

While I was in the mosque in the front row, a man pulled me back forcefully, moved me aside, and stood in my place. By Allah, I could not focus on my prayer afterward. When he finished, I saw that it was Ubayy bin Kaab.He said, "Young man, may Allah not cause you any harm. This is a directive from the Prophet ﷺ to us, that we should stand directly behind him."Then he turned toward the Kaabah and said, "The people of the knot are ruined, by the Lord of the Kaabah," repeating it three times.Then he said, "By Allah, I do not grieve for them, but I grieve for those they lead astray."I asked, "Abu Yaqub, who does he mean by the people of the knot?"He replied, "The rulers."

Nasai 809

Sahih

أخبرنا محمد بن عمر بن علي بن مقدم قال حدثنا يوسف بن يعقوب قال أخبرني التيمي عن أبي مجلز

عن قيس بن عباد قال

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

النسائي 809صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Leadership
Chapter
Those who stand nearest to the imam, then those next to them
Numbering
Darussalam 809
Nasai 809