A person has sworn by the name of Allah but then broke the oath — what must they do?

A person has sworn by the name of Allah but then broke the oath — what must they do?

If someone swears by the name of Allah and breaks it, they must pay kaffarah:

1. Feeding 10 poor people
2. If unable, fasting for three days

Reference (Qur’an): “The expiation for breaking an oath is to feed 10 poor people with the average food you feed your family, or to clothe them, or to free a slave. If one cannot afford this, then they must fast for three days.” (Surah Al-Ma’idah: 89)