https://infogalactic.com/info/Three_Hours%27_Agony
The Jesuit priest Alphonsus Messia (died 1732) is said to have devised this devotion in Lima, Peru. It was introduced to Rome around 1788 and spread around the world. In 1815, Pope Pius VII decreed a plenary indulgence to those who practise this devotion on Good Friday.[3]
It may include meditation on the seven sayings of Jesus on the cross,[1] and often occurs between the Stations of the Cross at noon and the Liturgy of the Lord's Passion at 3PM, or between 6PM and 9PM.[2]
My blessed Lord Jesus,
I want to thank you for all the suffering, pain, and agony you went through to pay for my sins even though I was not born yet. I want to praise you for going through with what your Father had asked you; knowing that what was about to come would be excruciating. And I want to bless you for forgiving me for each sin I commit, and for loving me through each mistake I've made. This Good Friday that we remember for your time on the Cross, and this Easter Sunday that we celebrate as a time for renewal and new beginnings; I say thank you, bless you and praise you with all my heart. Amen.