https://abukhadeejah.com/should-a-person-pray-if-he-is-left-naked-and-without-water/
Should a person pray if he is left naked and without water? Or should he avoid praying? ―By Shaikh Al-Islām Ibn Taymiyyah