The Prophet salla Allahu alaihi wa sallam has said that whenever a person east or drinks while fasting due to forgetfulness, it is Allahu who has fed him.

Therefore, your fasting is correct.

Alhamdulillah i did fasting from the 1st day of Dhulhijja but at the last day without i realize about 3 hour before magrib i bite some food in my mouth ,n after i did i realize that im fasting n its the last dayim so sad of this situation even its by mistake n even i didnt felt if that time im fasting… did Allah still accept my last fasting ???

Fasting |