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.
bayhaqi:9206[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAlī al-Ḥusayn b. ʿAlī al-Ḥāfiẓ > Aḥmad b. Yazīd b. Hārūn Bimakkah > Ibrāhīm b. al-Mundhir al-Ḥizāmī [Chain 2] al-Qāḍī Abū ʿUmar Muḥammad b. al-Ḥusayn > Abū al-Qāsim Sulaymān b. Aḥmad al-Lakhmī Bʾaṣbahān > Masʿadah b. Saʿīd al-ʿAṭṭār > Ibrāhīm b. al-Mundhir > Maʿn b. ʿĪsá > Mālik > Nāfiʿ > Ibn ʿUmar

[Machine] The Messenger of Allah, ﷺ , used to enter from the upper side and leave from the lower side, and their distance was equal.  

البيهقي:٩٢٠٦وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو عَلِيٍّ الْحُسَيْنُ بْنُ عَلِيٍّ الْحَافِظُ أنبأ أَحْمَدُ بْنُ يَزِيدَ بْنِ هَارُونَ بِمَكَّةَ ثنا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ الْحِزَامِيُّ ح وَأَخْبَرَنَا الْقَاضِي أَبُو عُمَرَ مُحَمَّدُ بْنُ الْحُسَيْنِ ثنا أَبُو الْقَاسِمِ سُلَيْمَانُ بْنُ أَحْمَدَ اللَّخْمِيُّ بأَصْبَهَانَ ثنا مَسْعَدَةُ بْنُ سَعِيدٍ الْعَطَّارُ ثنا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ ثنا مَعْنُ بْنُ عِيسَى ثنا مَالِكٌ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ يَدْخُلُ مِنَ الثَّنِيَّةِ الْعُلْيَا وَيَخْرُجُ مِنَ السُّفْلَى لَفْظُهُمَا سَوَاءٌ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ إِبْرَاهِيمَ بْنِ الْمُنْذِرِ

See similar narrations below:

Collected by Aḥmad
ahmad:5231Wakīʿ > al-ʿUmarī > Nāfiʿ > Ibn ʿUmar

[Machine] The Prophet would enter from the upper part and exit from the lower part.  

أحمد:٥٢٣١حَدَّثَنَا وَكِيعٌ حَدَّثَنَا الْعُمَرِيُّ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ النَّبِيَّ ﷺ كَانَ يَدْخُلُ مِنَ الثَّنِيَّةِ الْعُلْيَا وَيَخْرُجُ مِنَ السُّفْلَى