The Prophet ﷺ said, "The pen is lifted from three: from the child until he reaches puberty, from the sleeper until he wakes, and from the mentally impaired until he regains his senses."Affan reported it as, "and from the insane until he regains his senses." Hammad said, "and from the mentally impaired until he regains his senses." Rawh said, "and from the insane until he regains his senses."
حدثنا حسن بن موسى وعفان وروح قالوا حدثنا حماد بن سلمة عن حماد عن إبراهيم عن الأسود
عن النبي ﷺ قال رفع القلم عن ثلاثة عن الصبي حتى يحتلم وعن النائم حتى يستيقظ وعن المعتوه حتى يعقل قال عفان وعن المجنون حتى يعقل وقد قال حماد وعن المعتوه حتى يعقل وقال روح وعن المجنون حتى يعقل