Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “O people, Allah is pure and He only accepts what is pure. Verily, Allah has commanded the believers as He has commanded His Messengers. Allah said: O Messengers, eat from wholesome foods and act righteously, for I know what you do (23:51). And Allah said: O you who believe, eat from wholesome food We have provided for you,” (2:172). Then, the Prophet mentioned a man who traveled far, becoming disheveled and dusty and he raised his hands to the sky, saying, “O Lord! O Lord!” Yet his food is unlawful, his drink is unlawful, his clothing is unlawful, and he is nourished by the unlawful, so how can he be answered?
Source: Ṣaḥīḥ Muslim 1015
Grade: Sahih (authentic) according to Muslim
عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَيُّهَا النَّاسُ إِنَّ اللَّهَ طَيِّبٌ لَا يَقْبَلُ إِلَّا طَيِّبًا وَإِنَّ اللَّهَ أَمَرَ الْمُؤْمِنِينَ بِمَا أَمَرَ بِهِ الْمُرْسَلِينَ فَقَالَ يَا أَيُّهَا الرُّسُلُ كُلُوا مِنْ الطَّيِّبَاتِ وَاعْمَلُوا صَالِحًا إِنِّي بِمَا تَعْمَلُونَ عَلِيمٌ وَقَالَ يَا أَيُّهَا الَّذِينَ آمَنُوا كُلُوا مِنْ طَيِّبَاتِ مَا رَزَقْنَاكُمْ ثُمَّ ذَكَرَ الرَّجُلَ يُطِيلُ السَّفَرَ أَشْعَثَ أَغْبَرَ يَمُدُّ يَدَيْهِ إِلَى السَّمَاءِيَا رَبِّ يَا رَبِّوَمَطْعَمُهُ حَرَامٌ وَمَشْرَبُهُ حَرَامٌ وَمَلْبَسُهُ حَرَامٌ وَغُذِيَ بِالْحَرَامِ فَأَنَّى يُسْتَجَابُ لِذَلِكَ
1015 صحيح مسلم كتاب الزكاة باب قبول الصدقة من الكسب الطيب