عَنْ قَتَادَةَ عَنِ الْحَسَنِ أَنَّ عُمَرَ بْنَ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُ أَرَادَ أَنْ يَرْجُمَ مَجْنُونَةً فَقَالَ لَهُ عَلِيٌّ رَضِيَ اللَّهُ عَنْهُ مَا لَكَ ذَلِكَ قَالَ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَقُولُ رُفِعَ الْقَلَمُ عَنْ ثَلَاثَةٍ عَنِ النَّائِمِ حَتَّى يَسْتَيْقِظَ وَعَنِ الطِّفْلِ حَتَّى يَحْتَلِمَ وَعَنِ الْمَجْنُونِ حَتَّى يَبْرَأَ أَوْ يَعْقِلَ فَأَدْرَأَ عَنْهَا عُمَرُ رَضِيَ اللَّهُ عَنْهُ
Sayyiduna Umar bin Khattab (may Allah be pleased with him) ordered the stoning of a mad woman. Sayyiduna Ali (may Allah be pleased with him) said: You do not have the authority to do so, because I heard the Messenger of Allah (peace and blessings be upon him) say: The pen has been lifted from three persons: from the sleeping person until he wakes up, from the child until he reaches puberty, and from the mad person until he recovers. Upon hearing this, Sayyiduna Umar (may Allah be pleased with him) removed the punishment from her.