When they had gone a short distance they perceived a great building of fine architecture ahead of them. It proved to be a Taoist temple. Sha Ho-shang said: "Let us enter, for Buddhism and Taoism teach the same things. They differ only in their vestments." The Taoist abbot received them with civility and ordered five cups of tea. Now he was in league with the seven women, and when the servant had made the tea they put poison in each cup. Sun, however, suspected a conspiracy, and did not drink his tea. Seeing that the rest had been poisoned, he went and attacked the sisters, who transformed themselves into huge spiders. They were able to spin ropes instead of webs with which to bind their enemies. But Sun attacked and killed them all.
The Taoist abbot then showed himself in his true form, a demon with a thousand eyes. He joined battle with Sun, and a terrible contest ensued, the result being that the Demon succeeded in putting an extinguisher on his enemy. This was a new trick which Sun did not understand. However, after trying in vain to break out through the top and sides, he began to bore downward, and, finding that the extinguisher was not deep in the ground, he succeeded in effecting his escape from below. But he feared that his Master and the others would die of the poison. At this juncture, while he was suffering mental tortures on their behalf, a Bodhisattva, Lady Pi Lan, came to his rescue. By the aid of her magic he broke the extinguisher, gave his Master and fellow-disciples pills to counteract the poison, and so rescued them.
The summer had now arrived. On the road the pilgrims met an old lady and a little boy. The old lady said: "You are priests; do not go forward, for you are about to pass into the country known as the Country that exterminates Religion. The inhabitants have vowed to kill ten thousand priests. They have already slain that number all but four noted ones whose arrival they expect; then their number will be complete."
This old lady was Kuan Yin, with Shên Tsai (Steward), who had come to give them warning. Sun thereupon changed himself into a candle-moth and flew into the city to examine for himself. He entered an inn, and heard the innkeeper warning his guests to look after their own clothes and belongings when they went to sleep. In order to travel safely through the city, Sun decided that they should all put on turbans and clothing resembling that of the citizens. Perceiving from the innkeeper's warning that thieving was common, Sun stole some clothing and turbans for his Master and comrades. Then they all came to the inn at dusk, Sun representing himself as a horse-dealer.