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.'"
حدثنا عبيد الله بن معاذ حدثنا أبي حدثنا شعبة عن سيار بن سلامة قال سمعت
ا كان رسول الله ﷺ لا يبالي بعض تأخير صلاة العشاء إلى نصف الليل وكان لا يحب النوم قبلها ولا الحديث بعدها قال شعبة ثم لقيته مرة أخرى فقال أو ثلث الليل