Hadithcore
Riyad as-Salihin, 1842

Salman Al-Farisi (May Allah be pleased with him) said:

The Prophet (ﷺ) said, "Do not, if you can help, be the first to enter the market and the last to leave it because it is an arena of Satan and the standard of Satan is set there." <b>[Muslim]</b>. There are other narrations with some variation in the wordings.

وعن سلمان الفارسي رضي الله عنه من قوله قال‏:‏ لا تكونن إن استطعت أول من يدخل السوق، ولا آخر من يخرج منها، فإنها معركة الشيطان، وبها ينصب رايته‏.‏ ‏(‏‏(‏رواه مسلم هكذا‏)‏‏)‏‏.‏ ورواه البرقاني في صحيحه عن سلمان قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏

‏لا تكن أول من يدخل السوق، ولا آخر من يخرج منها، فيها باض الشيطان وفرخ‏

‏‏.‏

References1 variant
In-Book Reference
Book 18, Hadith 35
Sharh · explanationclick to expand
<b>Guidance from the Hadiths:</b><br> 1) Mosques are the dearest places to Allah, for there He is remembered and worshiped, and the worldly and religious interests of the Ummah are served.<br> 2) They warn against places where people are usually inattentive, like the markets, for the devils reside there.<br> 3) The two attributes of love and hate are established for Allah Almighty in the way that befits His perfection. He, exalted be He, loves all that is good and right and hates all that is evil and wrong.