The Earth Store Sutra has such a recollection. There are other texts that I have read but don't remember right now.
edit: here's the link for the Sutra text: http://www.cttbusa.org/ess/earthstore1.htm
Section below:
“Shortly thereafter, a maidservant in the house bore a son who spoke
before he was three days old. Lowering his head and weeping, he said
to Bright Eyes, ‘The karmic conditions we create during our lives and
deaths result in retributions that we ourselves must undergo. I am
your mother and have been in darkness for a long time. Since you and I
parted, I have repeatedly fallen into the great hells. Upon receiving
the power of your blessings, I have been reborn as a servant’s child
with a short life span. Thirteen years from now, I will fall into the
evil paths again. Do you have some way to free me so that I can avoid
them?’
“When Bright Eyes heard those words, she knew without a doubt that
they were her mother’s. Choked with sobs, she said to the servant’s
child, ‘Since you were my mother, you should know your own past
offenses. What unwholesome karma did you create that made you fall
into the Evil Paths?’
“The maidservant’s son answered, ‘I am undergoing retribution for two
kinds of karma: killing and slandering. Had I not received the
blessings you earned to rescue me from difficulty, I would not yet be
released from that karma.’
“Bright Eyes asked, ‘What happens in the hells when beings undergo
retribution for their offenses?
’“The maidservant’s son answered, ‘I can’t bear to speak of the ways
in which beings suffer for their offenses. Even if I were to live for
a hundred thousand years, I would find it hard to talk about.“