Reciting Quranic verses while walking to perform Wudu after an involuntary state-break invalidates the prayer.

Invalidations of Prayer Part 3: State Transitions and Technical Breaks