(1) باب مَا جَاءَ فِيمَنْ لاَ يَجِبُ عَلَيْهِ الْحَدُّ .
Narrated 'Ali:
That the Messenger of Allah (ﷺ) said: "The pen has been lifted from three; for the sleeping person until he awakens, for the boy until he becomes a young man and for the mentally insane until he regains sanity." (ID)
Reference (ID): Jami` at-Tirmidhi 1423 (ID)
In-book reference (ID): Book 17, Hadith 1 (ID)
English translation (ID): Vol. 3, Book 15, Hadith 1423 (ID)