Hadith 1183

(حديث مرفوع) حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ ، حَدَّثَنَا سَعِيدٌ ، عَن قَتَادَةَ ، عَنِ الْحَسَنِ ، أَنَّ عُمَرَ بْنَ الْخَطَّابِ أَرَادَ أَنْ يَرْجُمَ مَجْنُونَةً ، فَقَالَ لَهُ عَلِيٌّ : مَا لَكَ ذَلِكَ ، قَالَ : سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ : " رُفِعَ الْقَلَمُ عَنْ ثَلَاثَةٍ : عَنِ النَّائِمِ حَتَّى يَسْتَيْقِظَ ، وَعَنِ الطِّفْلِ حَتَّى يَحْتَلِمَ ، وَعَنِ الْمَجْنُونِ حَتَّى يَبْرَأَ ، أَوْ يَعْقِلَ " ، فَأَدْرَأَ عَنْهَا عُمَرُ رَضِيَ اللَّهُ عَنْهُ .
Hasan (may Allah have mercy on him) says that once Sayyiduna Umar Farooq (may Allah be pleased with him) intended to stone a mad woman, so Sayyiduna Ali (may Allah be pleased with him) said to him: I heard the Messenger of Allah (peace and blessings of Allah be upon him) say: "Three types of people are exempt from accountability: (1) The sleeping person, until he wakes up, (2) The child, until he reaches puberty, (3) The insane person, until his sanity returns." Thus, Sayyiduna Umar (may Allah be pleased with him) suspended her punishment.
Hadith Reference مسند احمد / مسند الخلفاء الراشدين / 1183
Hadith Grading حکم دارالسلام: صحيح لغيره ، والحسن البصري لم يسمع من عمر ولا من علي