the Messenger of Allah (ﷺ) forbade sleeping before the night prayer and talking after it.

Sunan Abi Dawud Book 43, Hadith 77