Al-Kāfi

Hadith 730
burial
4ـ عَلِيُّ بْنُ مُحَمَّدٍ عَنْ أَبِيهِ عَنِ النَّوْفَلِيِّ عَنِ السَّكُونِيِّ عَنْ أَبِي عَبْدِ الله (عَلَيْهِ الْسَّلام) قَالَ مَنْ دَخَلَ الْقَبْرَ فَلاَ يَخْرُجْ إِلاَّ مِنْ قِبَلِ الرِّجْلَيْنِ.
4. Ali ibn Muhammad has narrated from his father from al-Nawfaliy from al-Sakuniy who has said the following: “Abu ‘Abd Allah (a.s.), has said that whoever enters a grave should come out only from the side where the feet are placed.”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī