It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "It is not permissible to stay up late at night talking together after the prayer, except for two people: a traveller, and one who is praying (or occupied in worship)."
In the narrations of Imam Musaddad, Yahya and Muhammad bin Yahya the same meaning is also reported, that the Messenger of Allah (peace and blessings be upon him) said: "There is room for night conversation only for two men: one who prays and a traveller." One narration states explicitly: "a traveller who is remembering Allah", on which Imam Sufyan (may Allah have mercy on him) said: "We hope that whoever is occupied in the remembrance of Allah is, as it were, in a state of prayer." One narration of Imam Abu Ya'la states explicitly the words "after the Isha prayer", meaning that staying awake and holding gatherings after that time is proper only for one who prays or a traveller.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب افتتاح الصلاة / 1284
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لانقطاعه بين خيثمة بن عبد الرحمن وابن مسعود، والواسطة مبهم
Hadith Takhrij«خيثمة بن عبد الرحمن: ثقة وكان يرسل (التقريب)؛ وفي سائر الطرق على المنصور (أبو عوانة وسفيان وجرير) «عن رجل عن عبد الله»» «(1284/1) أخرجه سنن ابن ماجه برقم: 703، وأخرجه مسند أحمد برقم: 3592، وأخرجه مسند البزار برقم: 1741، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 1762» «(1284/2) أخرجه سنن ابن ماجه برقم: 703، وأخرجه مسند أحمد برقم: 3592، وأخرجه مسند البزار برقم: 1741، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 1762» «(1284/5) أخرجه سنن ابن ماجه برقم: 703، وأخرجه مسند أحمد برقم: 3592، وأخرجه مسند البزار برقم: 1741، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 1762» «(1284/9) أخرجه سنن ابن ماجه برقم: 703، وأخرجه مسند أحمد برقم: 3592، وأخرجه مسند البزار برقم: 1741، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 1762»