Three factors necessitate Salaat:
a. Islam b. Maturity c. Sanity
Children should be commanded to perform salaat 7 year of age and punished for neglecting it when they are ten.
Source: Taleemu Deen / Ahmad ibn Hambal Munad 11.180