Sahih al-Bukhari, Book 34, Hadith 36 (Bukhari 2008)
Narrated Abu Hurairah (ra):
The Prophet (ﷺ) said "Certainly a time will come when people will not bother to know from where they earned the money, by lawful means or unlawful means." (See Hadith no. 2050)