Hafiz Ibn Rajab (rahimahullah) said:
Istighfar (seeking forgiveness) is the conclusion of all good actions, thus salah, hajj, standing in salah at night (qiyam al-layl) are all concluded with it.
Gatherings are also concluded with it. If they are gatherings of knowledge, it serves as a seal for them, and if they are futile gatherings, it serves as a compensation.
Likewise, the fasts of Ramadan should be concluded with Istighfar.
Umar Ibn Abd al-Azeez (rahimahullah) sent a message to different cities, ordering the people to end Ramadan with Istighfar and charity, i.e., sadaqat al-fitr, because sadaqat al-fitr is a purification for the fasting person from vain and obscene talk.
Furthermore, Istighfar repairs the damage caused to the fast through vain and obscene talk.
This is why some of the previous scholars said sadaqat al-fitr for the one fasting is like sajdat al-sahw for salah.”
Lataa’if al-Ma’arif (pg. 383)
May Allah Ta’ala forgive all our shortcomings during the month of Ramadan and accept all our good actions, through His grace and mercy. Aameen.