Reference: ath-Thamar al-Mustataab – Volume 1, Page 32
al-Ikhtiyaaraat al-Fiqhiyyah – No.45, Page 67
Question: And if he were to find water [after completing the prayer], then he is not [required] to repeat the prayer. This is the opinion of the four math.habs (Hanafee, Maalikee, Shaafi’ee, Hanbalee)?
Response: So long as he has not found water, he should pray with that [tayammum] what he wishes from the obligatory and voluntary prayers.