Hadith.1948 - Ammar ibn Musa narrated from Abu Abdullah (as) regarding a man who becomes so thirsty that he fears for his life.
Imam (as) said
"He may drink just enough to sustain himself and prevent collapse, but he should not drink until he is fully satisfied."