Yes, it is.
The Salah offered by a naked person while he or she has the ability to conceal the `Awrah (parts of the body that must be covered in public) is null and void. Imam
Ibn `Abdul-Bar said it is unanimously agreed upon by scholars.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.