Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) was asked about a person who sleeps through the prayer or forgets it (so what should he do?). The Prophet (peace and blessings be upon him) said: "Its expiation is that when he remembers it, he should perform it."