Ali himself proceeded on a survey of the desert. At one place Ali saw a huge stone, and he asked his men to dig at that site. Miraculously a well was discovered at the site the water supply whereof was more than enough for the needs of the troops. As the ancient well was discovered, the Christian hermit was thrilled at the miracle. Addressing Ali he said that verily he was the representative of the prophet about whose advent the scriptures had predicted. He hastened to accept Islam at the hands of Ali. He presented to Ali an old parchment belonging to Simon, a companion of Jesus Christ on which was recorded a prophesy about the advent of the last prophet. The parchment also foretold of the lifting of the stone of the well by a representative of the last prophet.
The discovery of the source of water in the desert came as a matter of great relief to the troops of Ali. It raised their morale and fortified them with the faith they were fighting for the vindication of the truth. The news of the recovery of the well in the desert impressed the tribes in the neighborhood and they joined Ali in the war against Muawiyah.