Sayyiduna Ibn Umar (may Allah be pleased with them both) said: The child is to be taught the prayer when he can tell his right from his left.