If a worshipper praying with Tayammum acquires water during their prayer, their prayer remains valid and they can complete it.

Invalidations of Prayer Part 3: State Transitions and Technical Breaks