Harith left instructions that Abdullah bin Zayd should perform the funeral prayer over him. So he prayed over him, then placed him into the grave from the foot of the grave, saying, "This is from the Sunnah."
أوصى الحارث أن يصلي عليه عبد الله بن زيد، فصلى عليه، ثم أدخله القبر من قبل رجلي القبر. وقال: هذا من السنة.
Abu Dawud (3211) narrated it from Ubaydullah bin Muaz, who said, my father narrated to us, Shuba narrated to us, from Abu Ishaq, who said, and then he mentioned it. Bayhaqi (4/54) also narrated it through the route of Abu Dawud and said, "This isnad is sahih, and he said, this is the sunnah, so it becomes like a musnad, and we have also transmitted this saying from Ibn Umar and Anas bin Malik." End of his statement.I say, as for the report of Anas bin Malik, it is what Muhammad bin Sirin narrated, who said, I was with Anas at a funeral, and the deceased was ordered to be handled, so he was drawn in from the foot of the grave. This was narrated by Imam Ahmad (4081) from Abdul-Ala, who said, Khalid narrated to us, from Muhammad bin Sirin, and then he mentioned it. Haythami said in Majma, (3/43), Ahmad narrated it and its men are trustworthy. I say, it is as he said, Khalid is Ibn Mihran Hazza.This is the sahih position, that the deceased's head is placed at the foot of the grave, and he is then drawn in gradually. This is what is well known from the majority of the companions, and it is the practice of the Muhajirun and Ansar in Makkah and Madinah. Shafii likewise narrated it in al-Umm, as did other scholars, from the people of Makkah and Madinah among the companions and those who came after them, and they know the affairs of the Messenger of Allah ﷺ better than others, as Nawawi stated in al-Majmu (5/294).Bayhaqi cited as supporting evidence the hadith of Imran bin Musa, that the Prophet ﷺ was drawn in from the direction of his head, and likewise a similar hadith from Ibn Abbas. Bayhaqi said, Shafii said, one of our companions informed us, from Abu Zinad, Rabia, and Abu Nadr, there is no disagreement among them on this point, that the Messenger of Allah ﷺ was drawn in from the direction of his head, as were Abu Bakr and Umar. Bayhaqi said, this is what is well known among the people of Hijaz.However, Ibn Turkmani challenged this, saying, the hadith of Imran bin Musa has two problems. The first is that it is mualal (broken in transmission) because of this Imran. The second is that Shafii narrated it from Muslim Zanji and others, and Muslim was declared daif by Nasai, while Abu Zura and Bukhari said, "his hadith is munkar," and Ibn Madini said, "he is nothing." The other person whom Shafii paired with Zanji is "unknown." As for the hadith of Ibn Abbas, Shafii said regarding it, a trustworthy person informed us. Ibn Turkmani said, it is well known among the people of this field that their saying "a trustworthy person informed us" does not constitute a validation of trustworthiness, and it also contains Umar bin Ataa, whom Yahya and Nasai declared daif, and Yahya said on one occasion, "he is nothing." End of quote.Abu Hanifa said, the deceased is placed crosswise on the side facing the qibla, then brought in sideways, and a hadith of Ibn Abbas has been reported concerning this, but it is daif. See the chapter on burial at night.As for the hadith of Burayda, he said, the Prophet ﷺ was brought in from the direction of the qibla, a niche was made for him, and bricks were set upright over him. This was narrated by Bayhaqi (4/54–55) through the route of Yahya bin Abdul-Hameed, who said, Abu Burda narrated to us at his home, Alqama bin Marthad narrated to us, from Ibn Burayda, from his father, who said, and then he mentioned it.Bayhaqi said, Abu Burda is Amr bin Yazid Tamimi Kufi, and he is daif in hadith, having been declared daif by Yahya bin Main and others.