Allah's Messenger said: "Whoever forgets a Salat then he is to pray it when he remembers it."
Jami` at-Tirmidhi Book 2, Hadith 30