"The Messenger of Allah said: 'Whoever forgets a prayer, let him perform it when he remembers it.'"

Sunan Ibn Majah Book 2, Hadith 30