Sahih al-Bukhari Book 34, Hadith 12
While we were offering the prayer with the Prophet (ﷺ) a caravan carrying food came from Sham. The
people looked towards the caravan (and went to it) and only twelve persons remained with the
Prophet. So, the Divine Inspiration came; "But when they see some bargain or some amusement, they
disperse headlong to it." (62.11)
Some people said, "O Allah's Messenger (ﷺ)! Meat is brought to us by some people and we are not sure whether the name of Allah has been mentioned on it or not (at the time of slaughtering the animals)." Allah's Messenger (ﷺ) said (to them), "Mention the name of Allah and eat it."
The Prophet (ﷺ) said, "A time will come when one will not care how one gains one's money, legally or illegally."