كتاب المقدمات
The Book of Miscellany
(45)
Chapter: Visiting the Pious Persons, loving them and adoption of their company
(45)
- باب زيارة أهل الخير ومجالستهم وصحبتهم ومحبتهم وطلب زيارتهم والدعاء منهم وزيارة المواضع الفاضلة
Riyad as-Salihin 363
Abu Musa Al-Ash'ari (May Allah be pleased with him) reported:
I heard the Prophet (ﷺ) saying, "The similitude of good company and that of bad company is that of the owner of musk and of the one blowing the bellows. The owner of musk would either offer you some free of charge, or you would buy it from him, or you smell its pleasant fragrance; and as for the one who blows the bellows (i.e., the blacksmith), he either burns your clothes or you smell a repugnant smell".

[Al- Bukhari and Muslim].

وعن أبي موسى الأشعري رضي الله عنه أن النبي صلى الله عليه وسلم قال‏:‏ ‏ "‏إنما مثل الجليس الصالح وجليس السوء، كحامل المسك، ونافخ الكير، فحامل المسك، إما أن يحذيك، وإما أن تبتاع منه، وإما أن تجد منه ريحًا طيبة، ونافخ الكير، إما أن يحرق ثيابك ، وإما أن تجد منه ريحًا منتنة‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏
Reference : Riyad as-Salihin 363
In-book reference : Introduction, Hadith 363