Allah is good and He accepts only that which is good

Allah is good and He accepts only that which is good

The messenger of Allah, salllaAllahualihiwasallam

Said:“Allah the Almighty is Good and accepts only that which is good. And verily Allah has commanded the believers to do that which He has commanded the Messengers. So the Almighty has said: “O (you) Messengers! Eat of the tayyibat [all kinds of halal (legal) foods], and perform righteous deeds.” [23:51] and the Almighty has said: “O you who believe! Eat of the lawful things that We have provided you.” [2:172]” Then he,salllaAllahualihiwasallam mentioned [the case] of a man who, having journeyed far, is disheveled and dusty, and who spreads out his hands to the sky saying “O Lord! O Lord!,” Yet his food is from the unlawful, his drink is from the unlawful, his clothing is from the unlawful, and he was nourished by the unlawful. So how can that [his supplication] be answered?

[Muslim]