And Az-Zuhri said: If there is severe thirst and water is not found, even then it is not permissible for a person to drink his own urine because it is impure. Allah the Exalted has said «أحل لكم الطيبات» "Pure things have been made lawful for you." And Ibn Mas'ud (may Allah be pleased with him) said regarding intoxicating substances that Allah the Exalted has not placed healing for you in things that are forbidden.
Hadith Referenceصحيح البخاري / كتاب الأشربة / 5614
And Az-Zuhri said: If there is severe thirst and water is not found, even then it is not permissible for a person to drink his own urine because it is impure. Allah the Exalted has said «أحل لكم الطيبات» "Pure things have been made lawful for you." And Ibn Mas'ud (may Allah be pleased with him) said regarding intoxicating substances that Allah the Exalted has not placed healing for you in things that are forbidden.