(11) باب فِي قَوْلِهِ تَعَالَى: {وَإِذَا رَأَوْا تِجَارَةً أَوْ لَهْوًا انْفَضُّوا إِلَيْهَا وَتَرَكُوكَ قَائِمًا}
Jabir b. Abdullah reported:
While the Messenger of Allah (ﷺ) was delivering (a sermon) on Friday, a caravan of merchandise came to Medina. The Companions of the Messenger of Allah (ﷺ) rushed towards it till only twelve persons were left with him including Abu Bakr and 'Umar; and it was at this occasion that this verse was revealed." And when they see merchandise or sport, they break away to it."
Reference: Sahih Muslim 863 d
In-book reference: Book 7, Hadith 50
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1880