Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:5044Musaddad > Ḥammād > Khālid al-Ḥadhhāʾ > Abū Qilābah > Baʿḍ Āl Um Salamah

Some relative of Umm Salamah said: The bed of the Prophet ﷺ was set as a man is laid in his grave; the mosque was towards his head.  

أبو داود:٥٠٤٤حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا حَمَّادٌ عَنْ خَالِدٍ الْحَذَّاءِ عَنْ أَبِي قِلاَبَةَ عَنْ بَعْضِ آلِ أُمِّ سَلَمَةَ قَالَ

كَانَ فِرَاشُ النَّبِيِّ ﷺ نَحْوًا مِمَّا يُوضَعُ الإِنْسَانُ فِي قَبْرِهِ وَكَانَ الْمَسْجِدُ عِنْدَ رَأْسِهِ