From the Story of the Great Compassion Dharani:
After reciting this Mantra five times a day or more to remove from the body the weighty sins of births and deaths accumulated in hundreds of thousands of billions of Kaplas. If you recite this mantra when you’re about to die, all the Buddhas of the ten directions will come and receive you with their hands and will be reborn in whichever Buddha-World according to your wishes.
By reciting this Dharani, all evil karma and weighty sins can be completely eliminated, such as the ten evil deeds and the five rebellious sins, slandering people, slandering the Dharmas, breaking the Abstinent-precepts, breaking other precepts, destroying Stupas, wrecking temples, stealing properties of Sanghas, and profaning Brahma practices can be completely eliminated. Though weighty sins do not disappear immediately, the reciting can still be the cause of Bodhi in the future.
One who recites and holds this holy mantra, without exception, can heal all the 84,00 kinds of diseases of the world. One who recites and hold this holy mantra, the thirty-two marks and the eighty minor marks achieved naturally. And all the ghosts and spirits, and heavenly demons, all Exterior-path practitioners cannot interrupt him.
The mantra is as follows:
Namo Great Compassionate Avalokiteshvara (or, Namo Avalokiteshvara Bodhisattva)
May I quickly know all the Dharmas
Namo Great Compassionate Avalokiteshvara
May I soon obtain the Wisdom Eye
Namo Great Compassionate Avalokiteshvara
May I quickly ferry all living beings
Namo Great Compassionate Avalokiteshvara
May I soon obtain virtuous skillful means
Namo Great Compassionate Avalokiteshvara
May I quickly board the Prajna Boat
Namo Great Compassionate Avalokiteshvara
May I soon transcend the ocean of suffering
Namo Great Compassionate Avalokiteshvara
May I quickly achieve precepts, Samadhi, and The Way
Namo Great Compassionate Avalokiteshvara
May I soon ascend the mountain of Nirvana
Namo Great Compassionate Avalokiteshvara
May I quickly dwell in the house of non-action
Namo Great Compassionate Avalokiteshvara
May I soon unite with the Dharma-Nature Body
If I go towards the mountain of knives, the mountain of knives of itself breaks up.
If I go towards the boiling oil, the boiling oil of itself dries up.
If I go towards the hells, the hells of themselves disappear.
If I go towards the hungry ghosts, the hungry ghosts of themselves become full.
If I go towards the Asuras, their evil thoughts of themselves are tamed.
If I go towards the animals, they themselves attain great wisdom.