If a traveler's companion refuses to give water for free but offers to sell it at its fair market price, the traveler is obligated to buy it even if they must spend their last travel funds needed for food.

Dry Ablution (التيمم): Pillars, Sunnahs, & Water Search Rules