Al-Kāfi

Hadith 731
burial
5ـ عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ سَهْلِ بْنِ زِيَادٍ رَفَعَهُ قَالَ قَالَ يَدْخُلُ الرَّجُلُ الْقَبْرَ مِنْ حَيْثُ شَاءَ وَلاَ يَخْرُجْ إِلاَّ مِنْ قِبَلِ رِجْلَيْهِ. وَفِي رِوَايَةٍ أُخْرَى قَالَ قَالَ رَسُولُ الله (صلّى اللهُ عَلَيْهِ وَآلِه) إِنَّ لِكُلِّ بَيْتٍ بَاباً وَإِنَّ بَابَ الْقَبْرِ مِنْ قِبَلِ الرِّجْلَيْنِ.
5. A number of our people have narrated from Sahl ibn Ziyad in a marfu‘ manner the following: “He (the Imam) (a.s.), has said, ‘One may enter a grave from whatever direction he likes, but should come out from the side where the feet are placed.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī