It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) was lowered into the niche grave from the side of his head.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 7054