When Christ Jesus went to the home of Jairus to raise Jairus’ daughter from the dead (see Mark 5:22–24, 35–43), he first asked everyone to leave the house, except for the parents and his chosen disciples. Peter, in following Jesus’ example, did the same when he raised Dorcas from death (see Acts 9:36–41).
Why did they feel this was necessary? The biblical scenes relate that there were many mourning and wailing in each house, but both Jesus and Peter had healed individuals even in the midst of noisy crowds.
It was not about noisy crowds. It was about the thoughts of the surrounding people. So much focus on death in these two situations was antagonistic to the expectation of healing. It needed to be put out to make room in human consciousness for the Christ, the resurrecting power of divine Life, which Jesus embodied and Peter appealed to, to restore life.