Sahih al-Bukhari, Book 19, Hadith 33 (Bukhari 1120)

Narrated `Abdullah bin `Amr bin Al-`As:

Allah's Messenger (ﷺ) said to me, "O `Abdullah! Do not be like so and so who used to pray at night and then stopped the night prayer."