'The Prophet was asked about a man who forgets prayer or sleeps and misses it. He said: 'he performs it when he remembers it.'"
Sunan Ibn Majah Book 2, Hadith 29