Fidyah and kaffara
Fidyah or fidya (Arabic: الفدية) and kaffara or kaffarah (Arabic: كفارة) are religious donations made in Islam when a religious obligation (such as fast for Ramadan) has been missed or broken. Fidyah serves as compensation for when a Muslim was unable to fulfill the obligation for reasons beyond their control. Kaffarah deals with the breaking or missing of a fast without a valid excuse, and so is atonement rather than compensation, and requires a more significant compensatory payment or act than fidya.
Quran verse 2:184 mentions how donations of food, or money, to help feed those in need, serve as compensation for fasting missed when someone was "ill or on a journey". Some organizations have online fidyah and kaffara options.