Hawzah News Agency – The merciful prophet of Islam, peace be upon him and his household says:
علِّموا أولادَكُمُ الصَّلاةَ إذا بَلَغوا سَبْعاً، ... وفَرِّقوا بينَهُم في المَضاجِعِ.
'Teach your children to pray when they reach the age of seven....and make them sleep in separate beds.'
Source: Kanz al-Ummal, no. 4533