Anas (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "A man has more right to the front of his mount, and a man has more right to the head of his bed."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5009