The Messenger of Allah ﷺ said, "People, Allah is pure and accepts only what is pure. Allah has commanded the believers with what He commanded the messengers. He said, 'Messengers, eat from the good things and do righteous deeds. I am well aware of what you do' [Muminun 23:51], and He said, 'You who believe, eat from the good things We have provided for you' [Baqarah 2:172]."Then he mentioned a man who travels for long distances, disheveled and dusty, stretching out his hands to the sky, crying, "Lord, Lord!" yet his food is unlawful, his drink is unlawful, his clothing is unlawful, and he has been nourished by what is unlawful. So how can his prayer be answered?
و حدثني أبو كريب محمد بن العلاء حدثنا أبو أسامة حدثنا فضيل بن مرزوق حدثني عدي بن ثابت عن أبي حازم
قال رسول الله ﷺ أيها الناس إن الله طيب لا يقبل إلا طيبا وإن الله أمر المؤمنين بما أمر به المرسلين فقال {يا أيها الرسل كلوا من الطيبات واعملوا صالحا إني بما تعملون عليم} وقال {يا أيها الذين آمنوا كلوا من طيبات ما رزقناكم} ثم ذكر الرجل يطيل السفر أشعث أغبر يمد يديه إلى السماء يا رب يا رب ومطعمه حرام ومشربه حرام وملبسه حرام وغذي بالحرام فأنى يستجاب لذلك