Sunan Ibn Majah 2042
سنن ابن ماجه#2042Sahihحَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا رَوْحُ بْنُ عُبَادَةَ، حَدَّثَنَا ابْنُ جُرَيْجٍ، أَنْبَأَنَا الْقَاسِمُ بْنُ يَزِيدَ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ " يُرْفَعُ الْقَلَمُ عَنِ الصَّغِيرِ وَعَنِ الْمَجْنُونِ وَعَنِ النَّائِمِ " .
It was narrated from 'Ali bin Abu Talib that:the Messenger of Allah (ﷺ) said: "The Pen is lifted from the minor, the insane person and the sleeper
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
Al-AlbaniSahih
Muhammad Fouad Abd al-BaqiSahih
Zubair Ali ZaiDaif
In-book reference: 10:27