It was narrated from Ghudaif bin Al-Harith that he asked 'Aishah in which part of the night would the Messenger of Allah (ﷺ) perform Ghusl? She said:"Sometimes he performed Ghusl at the beginning of the night and sometimes he performed Ghusl at the end." I said: "Praise be to Allah Who has made the matter flexible
Hadith No. 222
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Hasan