“... . Till he reaches puberty , and a lunatic till he is restored to consciousness.” ‘Umar then began to utter: Allah is most great.
Sunan Abi Dawud Book 40, Hadith 50