What is the reference for this Hadith?
حدثنا عباس بن محمد بن حاتم الدوري، حدثنا عبيد الله بن موسى، أنبأنا مبارك بن حسان، عن عطاء، عن ابن عباس، قال: قيل: ” يا رسول الله، أي جلسائنا خير؟ قال: من ذكركم بالآخرة عمله
This version is recorded in Makarimul Akhlaq of Imam Kharaiti.
(Makarimul Ahklaq, Hadith: 735)
Imam Abu Ya’la (rahimahullah) and others have recorded a longer version. See here
Sayyiduna ‘Abdullah ibn ‘Abbas (radiyallahu ‘anhuma) said: “It was asked, O Rasulullah! Which of our companions are best?” Rasulullah (sallallahu ‘alayhi wa sallam) replied: “One whose actions reminds you of the Hereafter.”
And Allah Ta’ala Knows best.
Answered by: Moulana Suhail Motala
Approved by: Moulana Muhammad Abasoomar
This answer was collected from HadithAnswers.com. The answers were either answered or checked by Moulana Haroon Abasoomar (rahimahullah) who was a Shaykhul Hadith in South Africa, or by his son, Moulana Muhammad Abasoomer (hafizahullah), who is a Hadith specialist.