Riyad as-Salihin 373: On Visiting the Righteous and Keeping Company with them
Ibn Mas‘ud relates that a man came to the Holy Prophet and said: Messenger of Allah (saw), what would you say about one who loves a people but is unable to emulate them? He said: A person will be with those he loves (Bokhari and Muslim).
وعن ابن مسعود رضي الله عنه قال: جاء رجل إلى رسول الله صلى الله عليه وسلم فقال: يا رسول الله كيف تقول في رجل أحب قومًا ولم يلحق بهم؟ فقال رسول الله صلى الله عليه وسلم : المرء مع من أحب ((متفق عليه)) .
10 of 10 left today