سنن نسائي Sunan an-Nasa'i كتاب الإمامة The Book of Leading the Prayer (Al-Imamah)
بَابُ : مَنْ أَحَقُّ بِالإِمَامَةِ

Chapter: Who has more right to Imamah

1 hadith
Hadith 781
أَخْبَرَنَا قُتَيْبَةُ قال : أَنْبَأَنَا فُضَيْلُ بْنُ عِيَاضٍ ، عَنِ الْأَعْمَشِ ، عَنْ إِسْمَاعِيلَ بْنِ رَجَاءٍ ، عَنْ أَوْسِ بْنِ ضَمْعَجٍ ، عَنْ أَبِي مَسْعُودٍ قال : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " يَؤُمُّ الْقَوْمَ أَقْرَؤُهُمْ لِكِتَابِ اللَّهِ فَإِنْ كَانُوا فِي الْقِرَاءَةِ سَوَاءً فَأَقْدَمُهُمْ فِي الْهِجْرَةِ فَإِنْ كَانُوا فِي الْهِجْرَةِ سَوَاءً فَأَعْلَمُهُمْ بِالسُّنَّةِ فَإِنْ كَانُوا فِي السُّنَّةِ سَوَاءً فَأَقْدَمُهُمْ سِنًّا وَلَا تَؤُمَّ الرَّجُلَ فِي سُلْطَانِهِ وَلَا تَقْعُدْ عَلَى تَكْرِمَتِهِ إِلَّا أَنْ يَأْذَنَ لَكَ " .
´It was narrated that Abu Masud said:` "The Messenger of Allah(ﷺ)said: 'Let the one who has most knowledge of the Book of Allah lead the people in prayer. If they are equal in terms of knowledge of the Qur'h, let the one who emigrated first (lead them). If they are equal in terms of emigration, let the one who has more knowledge of the Sunnah, (lead them). If they are equal in terms of knowledge of the Sunnah, let the one who is oldest (lead them). Do not lead a man in prayer in his place of authority, and do not sit in his place of honor, unless he gives you permission."'
Hadith Reference Sunan an-Nasa'i / The Book of Leading the Prayer (Al-Imamah) / Hadith: 781
Hadith Grading الألبانی: صحيح  |  زبیر علی زئی: صحيح مسلم
Hadith Takhrij «صحیح مسلم/المساجد 53 (673)، سنن ابی داود/الصلاة 61 (582، 583، 584)، سنن الترمذی/الصلاة 60 (235)، الأدب 24 (2772)، سنن ابن ماجہ/إقامة 46 (980)، (تحفة الأشراف: 9976)، مسند احمد 4/118، 121، 122، 5/272، ویأتی عند المؤلف برقم: 784 (صحیح)»