Abu Barza reported,

The Messenger of Allah ﷺ did not mind delaying the evening prayer until midnight, and he disliked sleeping before it or conversing after it.Shuba said, "Then I met him another time, and he said, 'Or up to a third of the night.'"

Muslim 1463

Sahih

حدثنا عبيد الله بن معاذ حدثنا أبي حدثنا شعبة عن سيار بن سلامة قال سمعت

أبا برزة يقول

ا كان رسول الله ﷺ لا يبالي بعض تأخير صلاة العشاء إلى نصف الليل وكان لا يحب النوم قبلها ولا الحديث بعدها قال شعبة ثم لقيته مرة أخرى فقال أو ثلث الليل

مسلم 1463صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Recommendation of praying Fajr early at the beginning of its time, which is during the darkness before dawn, and clarification of the amount of recitation in it
Numbering
Darussalam 1463
Muslim 1463