The Prophet ﷺ said, "There is no staying up at night except for two kinds of men, or for one of two kinds of men, one engaged in prayer and one traveling."
حدثنا محمد بن جعفر حدثنا شعبة قال سمعت منصورا يحدث عن خيثمة بن عبد الرحمن
عن النبي ﷺ أنه قال لا سمر إلا لرجلين أو لأحد رجلين لمصل ولمسافر
Its isnad is daif due to a break in the chain, for Khaythama did not hear from Ibn Masud. This hadith is a repetition of 4244. We have already explained in detail the reason for its weakness at 3603, and we pointed there to this very isnad.