The Quranic text states:
فَلَمْ تَجِدُوا مَاءً فَتَيَمَّمُوا صَعِيدًا طَيِّبًا
Meaning: If you do not find water, perform tayammum with pure earth.
Hanafi reasoning treats tayammum as a substitute purification that persists until nullified; the alternative legal analysis restricts the permission more narrowly to an obligatory prayer.