What is the ruling when a thirsty person finds both pure and impure water while needing to drink?

Chapter on Tayammum

Al-Mughni

Book of Purification

Book 2 · Issue 2 · Bab 10

Open in Qurani

Primary text

If the person finds both waters while thirsty, the pure water must be consumed for drinking, and the impure water must be poured away if it is not needed for drinking, irrespective of whether the time for prayer has entered or not.