Ibn Jurayj (may Allah have mercy on him) narrates from Imran bin Musa (may Allah have mercy on him) 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السنن الكبرى للبيهقي / كتاب الجنائز / 7053