Did any medieval Catholics have a pious belief that immediately after death, God gave people a last chance to repent of their sins and thus save their immortal soul from going to hell for all eternity?
I recently came across the following tidbit about St. Padre Pio in which he affirmed his own belief that repentance immediately after death was possible.
"I believe that not a great number of souls go to hell. God loves us so much. He formed us at his image. God loves us beyond understanding. And it is my belief that when we have passed from the consciousness of the world, when we appear to be dead, God, before He judges us, will give us a chance to see and understand what sin really is. And if we understand it properly, how could we fail to repent?" - Close encounters of a special kind with Padre Pio: The Souls in Purgatory, The Guardian Angel, the devil.
This got me thinking of what a priest that once told me some years ago: “Some Catholics in the Middle Ages (500 AD - 1500 AD) had a pious belief that immediately after sinners had died, Our Lord gave them a final chance to repent!”
The priest in question is no longer amongst us and I have never known him to state something like this erroneously.
Can anyone find any references from any Catholic sources about the possible existence of this pious belief during the Middle Ages?