Al-Kāfi
Hadith 2403عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ سَهْلِ بْنِ زِيَادٍ وَ عَلِيُّ بْنُ إِبْرَاهِيمَ جَمِيعاً عَنْ مُحَمَّدِ بْنِ عِيسَى عَنِ الدِّهْقَانِ عَنْ دُرُسْتَ عَنْ إِبْرَاهِيمَ بْنِ عَبْدِ الْحَمِيدِ عَنْ أَبِي الْحَسَنِ مُوسَى ( عليه السلام ) قَالَ ثَلَاثَةٌ يُتَخَوَّفُ مِنْهَا الْجُنُونُ التَّغَوُّطُ بَيْنَ الْقُبُورِ وَ الْمَشْيُ فِي خُفٍّ وَاحِدٍ وَ الرَّجُلُ يَنَامُ وَحْدَهُ وَ هَذِهِ الْأَشْيَاءُ إِنَّمَا كُرِهَتْ لِهَذِهِ الْعِلَّةِ وَ لَيْسَتْ هِيَ بِحَرَامٍ.
10. A number of our people have narrated from Sahl ibn Ziyad and Ali ibn Ibrahim all from Muhammad ibn ‘Isa from al-Dihqan from Durust from Ibrahim ibn ‘Abd al-Hamid who has said the following: “Abu al-Hassan, Musa (a.s.), has said, ‘Three things are feared for causing insanity: defecating among the gravesites, walking in one shoe and a man’s sleeping alone.’ Such things are disliked because of such reasons but they are not unlawful.” (The last sentence apparently is the words of the compiler).