Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:14356Ibn Idrīs > Ḥuṣayn > Sālim b. Abū al-Jaʿd > Jābir

[Machine] A caravan arrived at the city while the Prophet of Allah ﷺ was delivering a sermon. The people went out to see the caravan except for twelve individuals who stayed behind. This verse was revealed: "And when they saw merchandise or a diversion they dispersed towards it" (Surah Al-Jumu'ah, 11).  

أحمد:١٤٣٥٦حَدَّثَنَا ابْنُ إِدْرِيسَ عَنْ حُصَيْنٍ عَنْ سَالِمِ بْنِ أَبِي الْجَعْدِ عَنْ جَابِرٍ قَالَ

قَدِمَتْ عِيرٌ الْمَدِينَةَ وَرَسُولُ اللهِ ﷺ يَخْطُبُ فَخَرَجَ النَّاسُ وَبَقِيَ اثْنَا عَشَرَ فَنَزَلَتْ {وَإِذَا رَأَوْا تِجَارَةً أَوْ لَهْوًا انْفَضُّوا إِلَيْهَا} [الجمعة 11]