Because Allah, the Exalted, has said (in Surah Al-Baqarah) «يا أيها الذين آمنوا أنفقوا من طيبات ما كسبتم» "O you who believe! Spend of the good things which you have (legally) earned, and of that which We have produced for you from the earth."