I heard the Messenger of Allah ﷺ say, "The pen has been lifted from three: from the child until he reaches puberty, from the sleeper until he wakes, and from the afflicted until his affliction is removed."
حدثنا هشيم أنبأنا يونس عن الحسن
سمعت رسول الله ﷺ يقول رفع القلم عن ثلاثة عن الصغير حتى يبلغ وعن النائم حتى يستيقظ وعن المصاب حتى يكشف عنه