“The Messenger of Allah (ﷺ) used to sleep during the first part of the night and stay awake during the latter part.”

Sunan Ibn Majah Book 5, Hadith 563