Sahih Muslim, Book 13, Hadith 239 (Muslim 2708)

'Abdullah b. 'Amr b. al-'As (Allah be pleased with them) reported that the Messenger of Allah (ﷺ) said:

'Abdullah, don't be like so and so who observed prayer during the whole night and then abandoned it (altogether).