Grace after meals is the thanksgiving said when the meal is done. The old form ends by praying for the faithful departed, joining gratitude to intercession.

The prayer
Grace After Meals
We give thee thanks, O almighty God, for all thy benefits, who livest and reignest world without end. Amen.
May the souls of the faithful departed, through the mercy of God, rest in peace. Amen.
How to pray it
Say it before the plates are cleared. Name one gift from the day, then say the prayer. Gratitude is a habit, and this is where it starts.
Where it comes from
The Church calls us to give thanks in all circumstances (1 Thess 5:18) and to pray for the dead. The grace after meals is a small daily school of both CCC 2698 (tier 1 citation).