Muaz bin Jabal reported,

When death approached him, it was said to him, "Abu Abdul-Rahman, give us your final counsel."He said, "Sit me up." Then he said, "Knowledge and faith remain in their place. Whoever seeks them will find them." He repeated this three times. "Seek knowledge from four men, from Uwaymir Abu Darda, from Salman Farsi, from Abdullah bin Masud, and from Abdullah bin Salam, who was a Jew and then embraced Islam, for I heard the Messenger of Allah ﷺ say that he is the tenth of ten in Paradise."

Tirmidhi 3804

Sahih

حدثنا قتيبة حدثنا الليث عن معاوية بن صالح عن ربيعة بن يزيد عن أبي إدريس الخولاني عن يزيد بن عميرة قال لما حضر

معاذ بن جبل

الموت قيل له يا أبا عبد الرحمن أوصنا قال أجلسوني فقال إن العلم والإيمان مكانهما من ابتغاهما وجدهما يقول ذلك ثلاث مرات والتمسوا العلم عند أربعة رهط عند عويمر أبي الدرداء وعند سلمان الفارسي وعند عبد الله بن مسعود وعند عبد الله بن سلام الذي كان يهوديا فأسلم فإني سمعت رسول الله ﷺ يقول إنه عاشر عشرة في الجنة

الترمذي 3804صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Virtues
Chapter
Virtues of Abdullah bin Masud رضي الله عنه
Numbering
Darussalam 3804
Tirmidhi 3804