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:11308Abū Muḥammad ʿAbdullāh b. Yūsuf al-Aṣbahānī > Abū Saʿīd b. al-Aʿrābī > al-Ḥasan b. Muḥammad b. al-Ṣabbāḥ al-Zaʿfarānī > ʿĀṣim b. ʿAlī from my father > Khālid al-Ḥadhhāʾ > Abū al-Ḍuḥá > ʿAlī b. Abū Ṭālib > Rasūl Allāh

[Machine] The Prophet Muhammad ﷺ said: "The pen is lifted from three people: the sleeping person until they wake up, the child until they reach puberty, and the insane person until they regain sanity." This hadith was narrated to us by Wuhayb from Khaled al-Hathaa and by Abu Thabyan from Ibn Abbas, from Ali - both narrated as marfoo' (attributed to the Prophet) and mawqoof (attributed to a companion). Also, this hadith was narrated by Abu Thabyan from Ali, as marfoo'.  

البيهقي:١١٣٠٨أَخْبَرَنَا أَبُو مُحَمَّدٍ عَبْدُ اللهِ بْنُ يُوسُفَ الْأَصْبَهَانِيُّ أنبأ أَبُو سَعِيدِ بْنُ الْأَعْرَابِيِّ ثنا الْحَسَنُ بْنُ مُحَمَّدِ بْنِ الصَّبَّاحِ الزَّعْفَرَانِيُّ ثنا عَاصِمُ بْنُ عَلِيٍّ ثنا أَبِي عَنْ خَالِدٍ الْحَذَّاءِ عَنْ أَبِي الضُّحَى عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ ؓ قَالَ

قَالَ رَسُولُ اللهِ ﷺ رُفِعَ الْقَلَمُ عَنْ ثَلَاثَةٍ عَنِ النَّائِمِ حَتَّى يَسْتَيْقِظَ وَعَنِ الْغُلَامِ حَتَّى يَحْتَلِمَ وَعَنِ الْمَجْنُونِ حَتَّى يُفِيقَ وَرُوِّينَاه مِنْ حَدِيثِ وُهَيْبٍ عَنْ خَالِدٍ الْحَذَّاءِ وَمِنْ حَدِيثِ أَبِي ظَبْيَانَ عَنِ ابْنِ عَبَّاسٍ ؓ عَنْ عَلِيٍّ مَرْفُوعًا وَمَوْقُوفًا وَمِنْ حَدِيثِ أَبِي ظَبْيَانَ عَنْ عَلِيٍّ ؓ مَرْفُوعًا