Allah's Messenger (ﷺ) disliked to sleep before the `Isha' prayer and to talk after it.
Sahih al-Bukhari Book 9, Hadith 45