According to Roman Catholic teaching, did people who died in Old Testament times spend time in Purgatory? I understand that the Roman Catholic Church teaches that people today spend time in Purgatory after they die prior to going to heaven.

However, this teaching does not appear to have been taught in the Old Testament or been believed by Israel during that time.

Does the Catholic Church teach that people who died before the atonement of Christ, like Abraham, Moses, Elijah, etc., also spent time in Purgatory before going to Heaven?
In short, No. Purgatory did not exist before Christ rose from the dead. They were in the Limbo of the Fathers (limbus patrum).

I know it is long, but here is the Catholic teaching from the Catechism of the Catholic Church:


  632   The frequent New Testament affirmations that Jesus was “raised from the dead” presuppose that the crucified one sojourned in the realm of the dead prior to his resurrection.478 This was the first meaning given in the apostolic preaching to Christ’s descent into hell: that Jesus, like all men, experienced death and in his soul joined the others in the realm of the dead. But he descended there as Savior, proclaiming the Good News to the spirits imprisoned there.479
  
  633   Scripture calls the abode of the dead, to which the dead Christ went down, “hell” — Sheol in Hebrew or Hades in Greek—because those who are there are deprived of the vision of God.480 Such is the case for all the dead, whether evil or righteous, while they await the redeemer: which does not mean that their lot is identical, as Jesus shows through the parable of the poor man Lazarus who was received into “Abraham’s bosom”:481 “It is precisely these holy souls, who awaited their Savior in Abraham’s bosom, whom Christ the Lord delivered when he descended into hell.”482 Jesus did not descend into hell to deliver the damned, nor to destroy the hell of damnation, but to free the just who had gone before him.483 (1033)
  
  634   “The gospel was preached even to the dead.”484 The descent into hell brings the Gospel message of salvation to complete fulfillment. This is the last phase of Jesus’ messianic mission, a phase which is condensed in time but vast in its real significance: the spread of Christ’s redemptive work to all men of all times and all places, for all who are saved have been made sharers in the redemption. (605)
  
  635   Christ went down into the depths of death so that “the dead will hear the voice of the Son of God, and those who hear will live.”485 Jesus, “the Author of life,” by dying destroyed “him who has the power of death, that is, the devil, and [delivered] all those who through fear of death were subject to lifelong bondage.”486 Henceforth the risen Christ holds “the keys of Death and Hades,” so that “at the name of Jesus every knee should bow, in heaven and on earth and under the earth.”487
  
  
    Today a great silence reigns on earth, a great silence and a great
    stillness. A great silence because the King is asleep. The earth
    trembled and is still because God has fallen asleep in the flesh and
    he has raised up all who have slept ever since the world began.... He
    has gone to search for Adam, our first father, as for a lost sheep.
    Greatly desiring to visit those who live in darkness and in the shadow
    of death, he has gone to free from sorrow Adam in his bonds and Eve,
    captive with him—He who is both their God and the son of Eve....” I am
    your God, who for your sake have become your son.... I order you, O
    sleeper, to awake. I did not create you to be a prisoner in hell. Rise
    from the dead, for I am the life of the dead.”488