Question:
What do the scholars and experts of shari’ah say: From which side should we place the dead body into the grave?
Answer:
It is written in Durr al-Mukhtar that it is Mustahab (preferred) to insert the deceased into the grave from the direction of Qibla.
And Allah ﷻ knows the best
Imam Ahmad Rida Khan رحمة الله تعالى عليه
Translation by Dr Musharraf Hussain Al-Azhari Translator of Majestic Quran, www.majesticquran.co.uk