I asked the Prophet ﷺ, "Which deed is most beloved to Allah?"He answered, "Prayer at its appointed time."I asked, "Then what?"He said, "Kindness to one's parents."I asked, "Then what?"He said, "Striving in the path of Allah."He said, "He told me these, and had I asked for more, he would have told me more."
سألت النبي ﷺ: أي العمل أحب إلى الله؟ قال: الصلاة على وقتها، قال: ثم أي؟ قال: بر الوالدين، قال: ثم أي؟ قال: الجهاد في سبيل الله. قال: حدثني بهن ولو استزدته لزادني.
Narrated by Bukhari in the Book of Prayer Times (527), and this is his wording, and Muslim in the Book of Faith (85). Both narrated it from the hadith of Shubah, from Walid bin Ayzar, that he heard Abu Amr Shaybani say, "The owner of this house told us" - and he pointed to the house of Abdullah bin Masud - and then he related the hadith. Ibn Masud also narrated this hadith with another wording, namely his statement as a raised hadith, "Prayer at the beginning of its time," and this is an addition from trustworthy narrators that is sahih.Ibn Khuzayma narrated it (327), saying, Bundar bin Bashshar narrated to us, Uthman bin Umar narrated to us, Malik bin Mughul narrated to us, from Walid bin Ayzar, from Abu Amr Shaybani, from Abdullah bin Masud, and he related it.Hakim narrated it in Mustadrak (1/188) from Abu Amr Uthman bin Ahmad bin Abdullah bin Sammak - the trustworthy and reliable one in Baghdad - Husayn bin Mukarram narrated to us, Uthman bin Umar narrated to us with it, and its wording was, "Prayer at the beginning of its time." I said, "Then what?" He said, "Jihad in the way of Allah." I said, "Then what?" He said, "Kindness to parents." Hakim said, "This hadith is known with this wording through Muhammad bin Bashshar Bundar, from Uthman bin Umar, and Bundar is among the precise and reliable memorizers." Then he narrated it through the channel of Ibn Khuzayma, from Bundar with it, limiting it to the mention of prayer "at the beginning of its time." Then he said, "This wording has been established as sahih by the agreement of the two trustworthy narrators, Bundar bin Bashshar and Husayn bin Mukarram, in their narration from Uthman bin Umar, and it is sahih according to the standard of the two sheikhs, though they did not include it. It has supporting witnesses in this chapter." End of quote.Bayhaqi mentioned it in Khilafiyat (1/522-523) and agreed that it meets the standard of Bukhari and Muslim, saying, "Because its narrators are agreed upon as being of sound character, and an addition is accepted from a trustworthy narrator according to both of them, and according to the jurists when it is joined to a narration that corroborates it." Then he mentioned a corroborating narration for it, following Hakim, through the route of Hajjaj bin Shayr, Ali bin Hafs Madaini narrated to us, Shubah narrated to us, from Walid bin Ayzar, who said, "I heard Abu Amr Shaybani say, 'The owner of this house told us'" - and he pointed to the house of Abdullah bin Masud without naming him - and then he related the hadith, and in it, "Prayer at the beginning of its time." Hakim said, "A group narrated this hadith from Shubah, and none mentioned this wording except Hajjaj bin Shayr, from Ali bin Hafs, and Hajjaj is a trustworthy memorizer, and Muslim relied on Ali bin Hafs Madaini as evidence." Bayhaqi followed him in this and said, "The rest are agreed upon as trustworthy." Then Bayhaqi mentioned the wording extracted in the Sahihayn as being, "Prayer at its time."The hadith of Hajjaj bin Shayr was extracted by Daraqutni (1/246) from Husayn bin Ismail, from Hajjaj bin Shayr with it, and he mentioned in it, "Prayer at the beginning of its time."As for the supporting witnesses that Bayhaqi mentioned from Ibn Umar, "Prayer at the beginning of its time," it contains Yaqub bin Walid. Hakim said, "This is an elder from the people of Madinah who settled in Baghdad, and he does not meet the standard of this book, except that he serves as a witness from Ubaydullah." End of quote. Dhahabi followed up on this and said, "Yaqub is a liar."I say, the hadith of Ibn Umar was also narrated by Tirmidhi (172) from Ahmad bin Mani, Yaqub bin Walid Madani narrated to us, from Abdullah bin Umar, from Nafi, from Ibn Umar as a raised hadith, "The first time for prayer earns Allah's pleasure, and the last time earns Allah's forgiveness." Tirmidhi said, "Rare." Bayhaqi narrated it in his Sunan (1/435) through the route of Ahmad bin Mani, the teacher of Tirmidhi, and he transmitted from Ibn Adi that he said, "This hadith with this chain is baseless." Then Bayhaqi said, "This hadith is known through Yaqub bin Walid Madani, and Yaqub is one whose hadith is denounced. Yahya bin Main declared him daif, and Ahmad bin Hanbal and the rest of the memorizers accused him of lying, and they attributed forgery to him. We seek refuge in Allah from being forsaken."As for the hadith of Umm Farwa, who said, "The Messenger of Allah ﷺ was asked, 'Which deed is most excellent?' He said, 'Prayer at the beginning of its time.'" It was narrated by Abu Dawud (426) and Tirmidhi (170), both from the hadith of Abdullah bin Umar Umari, from Qasim bin Ghunam, from his aunt Umm Farwa, who was among those who pledged allegiance to the Prophet ﷺ. She said, "The Messenger of Allah ﷺ was asked, 'Which deeds are most excellent?' He said, 'Prayer at the beginning of its time.'" Tirmidhi said, "The hadith of Umm Farwa is only narrated through the hadith of Abdullah bin Umar Umari, and he is not considered strong among the people of hadith, and they found inconsistency in his narrations of this hadith. He is truthful, but Yahya bin Saeed criticized him regarding his memory." End of quote. Umm Farwa was the sister of Abu Bakr Siddiq.I say, Sheikh Ahmad Shakir discussed this in his commentary on Tirmidhi and elaborated at length in explaining the inconsistency, saying at the end of his study, "The hadith is daif in every respect, due to ignorance of the intermediary between Qasim bin Ghunam and Umm Farwa."Tabarani narrated it in Kabir (10/22) through another route from Amr Shaybani, and in it he said, "That people be safe from your tongue," instead of "jihad in the way of Allah." Haythami said in Majma (10/301), "Its narrators are the narrators of sahih hadith except for Amr bin Abdullah Nakhai, and he is trustworthy," but the sahih version is that upon which the two sheikhs agreed.There are also narrations on this subject from Jareer, Ibn Abbas, Ali bin Abu Talib, Anas, Abu Mahzura, and Abu Hurairah, but all of them contain defects. See Talkhis Habir (1/180-181).