Hadithcore
Mishkat al-Masabih, 256

Ibn ‘Abbas said, “Studying together for an hour during the night is better than spending the whole night in devotions.” Darimi transmitted it.

وَعَن ابْن عَبَّاس قَالَ: تَدَارُسُ الْعِلْمِ سَاعَةً مِنَ اللَّيْلِ خَيْرٌ من إحيائها. رَوَاهُ الدَّارمِيّ

References1 variant
In-Book Reference
Book 2, Hadith 53