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: "Staying up at night (in conversation) is only for one who prays or a traveller."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10473