Abu Musa Al-Ash`ari (may Allah be pleased with him) reported that the Prophet (peace and blessings be upon him) said:-
"The example of a good companion and a bad one is the bearer of musk and the worker on the bellows.
A bearer of musk would give you some, you might buy some from him, or you might enjoy the fragrance of his musk. The worker on the bellows, on the other hand, might spoil your clothes with sparks from his bellows, or you get a bad smell from him."
Al-Bukhari and Muslim)
The Messenger (peace and blessings be upon him) uses an effective example to bring to the hearer's conception the impact of good company and bad company.
A good companion is compared to a musk seller or a perfume seller.
A perfume seller might give you some of his fragrance, and a good companion might give you some good advice or a useful tip. A perfume seller can be useful by selling you some of his musk, and a good friend can be useful by responding readily to your demand for help in any matter, mundane or religious. At the very least, a musk seller is nice to have around, even without being beneficial in any practical way, as the pleasant smell emanating from his direction is a pleasure in itself.
Similarly, a good companion is at least useful to you for your good name and the pleasure of good company. Just to feel his presence improves your spirits.
In contrast, a bad companion is comparable to a worker on the bellows. If you come close to the bellows, sparks might hit your clothing and make holes in them. Even at some distance, you will feel the stench of burning. Your only hope is in keeping away from the horrid smell. And it is the same way with a bad companion; if you are close to him and identify with him, you will take over some of his perversity, and your character will be harmed, just as your clothes will be spoiled if you come too close to a worker on the bellows. Even if you remain safe from the influence of a bad companion, you cannot escape people talking about you for consorting with bad company.
You cannot even be sure that such a person will not adversely affect you in the end:
The following verses from the Qur'an are self explanatory:-
"And incline not to those who do wrong, or the fire will seize you
'Therefore, shun those who turn away from Our remembrance and desire nothing but the life of this world.'
In another place, the Qur'an directs a believer to seek the company of the well guided.
"Restrain thyself along with those who call on their Lord morning and evening seeking His face."
On the authority of Abu Hurairah, also corroborates the same concept:
"Man models himself after his companion; so let each one of you see who he chooses for companion"
Mujhe jannat say zyada masjid mein bethna acha lagta hai
kyun ke jannat mein mera nafs khush hoga,
jab ke masjid mein mera rabb khush hoga
. Jab tum namaz na padho to matt socho ke waqt nahi mila, Balke ye socho ke tumse kaunsi galti hui ke, ALLAH ne tum ko apne saamne khada karna pasand nahi kiya.............
. Har koi chahta hai k mujhey KAMIYABI mil jaye, lekin jab masjid sey din main 5 dafa awaz ati hai "HAYYA ALAL FALAH",, "Aao Kamiyabi ki Taraf".... to us taraf janey ki hum zehmat nahi kertey... afsos k jis cheez ko wo sari zindagi har jagah talash kar k bhi hasil nahi ker saka, wo to khud usey apney paas bula rahi hai .......