Qays bin Ubad narrates: I used to come to Madinah to meet the Companions of the Messenger of Allah (peace and blessings be upon him) (may Allah be pleased with them), and the dearest of them to me was Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him). Once the iqamah was called for the dawn prayer and I was in the row, when Sayyiduna Umar (may Allah be pleased with him) came out, and with him was a man (Sayyiduna Ubayy bin Ka'b, may Allah be pleased with him). That man looked at the faces of the people and recognised all of them except me; then he moved me back and took my place. Qays says: (Because of this sudden change) I could not keep my attention properly on my prayer. When he had completed the prayer, he said to me: "O my dear son! May Allah not cause you harm (that is, do not take it badly). What I did to you, I did not do out of ignorance; rather, the Messenger of Allah (peace and blessings be upon him) instructed us: 'Stay in the row that is closest to me.' And when I looked at the faces of the people, I recognised all of them except you (as being senior Companions of knowledge and merit)." Qays says: Then he sat with me, and I never saw people stretching their necks attentively towards any man the way they were looking towards Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him). Then he said: "The people of authority (ahl al-'aqd) are ruined, and I do not grieve for them; I grieve only for the Muslims who will be ruined because of them." Imam Abu Bakr bin Abi Shaybah and Abd bin Humayd also reported this narration with their chains from Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him), that the Prophet (peace and blessings be upon him) said to us: "Stay in the row that is closest to me." Imam al-Nasa'i narrated it in al-Sunan al-Sughra in abridged form, and Abu Dawud al-Tayalisi and Ibn Khuzaymah in his Sahih narrated it, and Ibn Hibban through him; the remaining routes of this hadith will come in the Book of Opening the Prayer (Kitab Iftitah al-Salah). Also, it has a supporting hadith narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him), which Imam al-Tirmidhi reported in his Jami' and declared hasan. Imam al-Tirmidhi says that in this chapter there are also narrations from Sayyiduna Ubayy bin Ka'b, Sayyiduna Abu Mas'ud, Sayyiduna Abu Sa'id, Sayyiduna al-Bara' and Sayyiduna Anas (may Allah be pleased with them), and it is narrated from the Prophet (peace and blessings be upon him): "He (peace and blessings be upon him) liked the Muhajirun and the Ansar to be close to him so that they could memorise (the matters of religion and prayer) from him (peace and blessings be upon him)."
It is narrated from Sayyiduna Abu Malik (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) led the prayer and had the men stand close to him, made the row of the boys behind them, and had the women stand behind them." In support of this hadith there is the narration of Sayyiduna Anas (may Allah be pleased with him), which Imam al-Tirmidhi narrated and declared "hasan sahih". The people of knowledge act upon it: if there are one man and one woman with the imam, the man stands on the imam's right and the woman behind them. Imam al-Tirmidhi also says that some people have used this hadith as evidence that the prayer of a person who stands alone behind the row is valid; they say that since a minor boy has no prayer of his own, it is as if Sayyiduna Anas (may Allah be pleased with him) was alone in the row behind the Prophet (peace and blessings be upon him). But the matter is not as they supposed, because the Prophet (peace and blessings be upon him) made him stand behind him together with an orphan boy; had the Prophet (peace and blessings be upon him) not considered the orphan's prayer valid, he would not have made him stand with Sayyiduna Anas (may Allah be pleased with him) but would have made him stand on his right. Also, it is narrated from Musa bin Anas that Sayyiduna Anas (may Allah be pleased with him) prayed with the Prophet (peace and blessings be upon him) and he (peace and blessings be upon him) made him stand on his right. In this hadith there is an indication that he (peace and blessings be upon him) prayed this prayer as a voluntary prayer, intending thereby to bring blessing to the household.
It is narrated from Sayyiduna al-Bara' bin Azib (may Allah be pleased with him) that he said: "When we prayed behind the Messenger of Allah (peace and blessings be upon him), it was my wish (or: the Companions liked) that we be on his (peace and blessings be upon him) right side. So I heard him (peace and blessings be upon him) making this supplication: 'Rabbi qini adhabaka yawma tajma'u (or: tab'athu) ibadak' (O my Lord, protect me from Your punishment on the Day You gather (or he said: resurrect) Your servants)." Technically, this chain is da'if (weak) because one narrator (the Successor) is majhul (unknown). Imam al-Nasa'i narrated this hadith in al-Yawm wa al-Laylah and Imam al-Tirmidhi in al-Shama'il.
Hadith Takhrij«هذا إسناد ضعيف؛ لجهالة التابعي، رواه النسائي في اليوم والليلة والترمذي في الشمائل» «أخرجه صحيح مسلم برقم: 709، وأخرجه سنن النسائي برقم: 822، وأخرجه سنن أبي داود برقم: 615، وأخرجه سنن ابن ماجه برقم: 1006، وأخرجه مسند أحمد برقم: 18082، وأخرجه فتح الباري برقم: 1849»
It is narrated from Imam al-Hasan al-Basri (may Allah have mercy on him): "He disliked that the imam should say the opening takbir (to begin the prayer) before the mu'adhdhin had finished his iqamah."
It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) led him and Sayyiduna Jabir (or Jabbar) bin Sakhr (may Allah be pleased with them both) in prayer, and he (peace and blessings be upon him) made the two of them stand behind him." This hadith has a shahid (supporting narration) from the narration of Sayyiduna Samurah bin Jundab (may Allah be pleased with him), which Imam al-Tirmidhi reported and declared "hasan gharib"; and in this chapter there are also hadith from Sayyiduna Ibn Mas'ud and Sayyiduna Anas (may Allah be pleased with them both). Imam al-Tirmidhi says that the people of knowledge act upon this: according to them, when there are three people in the congregation (including the imam), the two followers stand behind the imam. Also, it is narrated from Sayyiduna Ibn Mas'ud (may Allah be pleased with him) that he led Alqamah and al-Aswad in prayer and made one stand on his right and the other on his left, and he narrated this practice from the Prophet (peace and blessings be upon him) as well.
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that he said: "When there are three (people praying), one of them should go forward, and the other two should stay back and form a row behind him." He also said: "Once I came (to the prayer) and stood on his left, and he moved me (taking hold of me) to his right."
It is narrated from Sayyiduna Abdullah bin Utbah bin Mas'ud (may Allah be pleased with him) that he said: "I joined Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) in the voluntary prayer of Zuhr, and he made me stand on his right. Then Yarfa' came, and he and I (both) stood behind him."