A Strange Cruelty on an Orphan Girl and Hazrat Ali's (A.S) Judgement Therein

It has been stated by Kulaini and Sheikh Suduq as incorporated in Sahih Bukhari on the authority of Hazrat Imam Jafar Sadiq (a) that a slave girl was brought to the court of Hazrat Omar (r) with the accusation that she had not proved loyal to her master. The Story is this:
A man had given shelter to an orphan girl. As he more often than not used to go out of his home town on business trips, he had given the girl in the care of his wife. When a few years passed like this, the girl became mature and also looked extremely good in appearance. The wife of the man with the whim that he might not marry the girl, once got her intoxicated, with some thing or other, with the help of some woman from the neighbourhood and also got removed the sign of her chastity with the help of the same woman.
When the man returned from his business tour abroad, he asked his wife as to where was the girl. Thereupon she replied with complete innocence: “She has eloped with a young man in the neighbourhood.” Then the man went out in search of the girl, caught hold of her and dragged her to the court of Hazrat Omar (r), who was then a Caliph.
Hazrat Omar (r) finding the case to be considerably difficult, referred it to Amir ul-Momineen (a), as he had invariably done previously in such cases.
Hazrat Ali (a) sent for the man, his wife and the girl, together with the witnesses, if any. The man and his wife related the same story before Amir-ul-Momineen (a) also, which they had previously related in the court of Hazrat Omar (r), and also produced the four women who had been named by the wife of the appellant as witnesses.
Hazrat Ali (a) called the first witness, unsheathed his sword and keeping it between the woman and himself, said to her: "Do you know, I am Ali (a) Ibne Abi-Talib ? Tell me the truth, the truth and nothing but the truth.” The woman who was exceedingly clever gave the same false evidence she had given in the court of Hazrat Omar (r) and insisted thereon.
Hazrat Ali (a) seeing this, ordered her to be kept in confinement, separate from other witness. He then caned the second witness before him and pointing to his sword, said to her: “Do you see this sword ? If you do not tell the truth, I shall behead you with this sword. And remember that the woman who has just gone out has told me the truth and, therefore, I have given her pardon. If you tell me the true story, the same you shall get.” Hearing this, the & second women related the true story of the case, out of fear of her life, of course!
Having heard the truth from the second witness Amir-ul- Momenin (a) said, “After Daniel, the Prophet, I am the first man who has forced different statements from two witnesses.”
Thereafter, he ordered punishment to be accorded to the wife of the man in question. He also ordered the man to divorce his wife and marry the innocent girl. When his orders were carried out, he paid the dowry to the girl from his own pocket. He also fined the four women who had stood witnesses in the case, one hundred Dirhams each, and gave the whole amount of penalty also to the girl.
After this strange but righteous judgement Hazrat Omar (r) besought the favour of Amir-ul-Momenin (a) of telling him the story of Hazrat Daniel (a). Hazrat Ali (a) acceding to his request told him the following story: “Hazrat Daniel (a) was an orphan, who had lost his father and mother both. At the time the ruler was one from Bani Israel the ruler or the king had two Qazis among his courtiers.
Both of these Qazis used to visit the court of the king accompanied by a very pious and godly man of the day. Once upon a time the king wanted to send some trustworthy person on an urgent piece of business outside the dominion of his empire and requested the two Qazis to help him in selecting of somebody for the purpose.
The Qazis advised the king to entrust the work to the same pious and godly man who used to visit his court every now and then alongwith themselves. Acting on their advice the king sent the pious man with necessary instructions on the fateful journey. Now per chance the pious man had a very pretty and beautiful wife who was also pious and godly like her husband. However, the man while going out of the country gave her in the care of the aforesaid Qazis, saying: I give her in your care with the will that you will treat her with virtue and will take care of her daily needs. Then he set off at his journey.
Thereafter, once the two Qazis happend to go to the house of the pious man and by chance saw his pretty wife. Seeing her they both madly fell in love with her. When they expressed their carnal desire the good woman flatly refused to fall prey to their desire. Thereupon they threatened her to complain against her to the king and say that she had committed adultery with the result that she would be stoned to death.
In reply she said: "Say whatever you like, but I would not give my consent to this act of sin.”
Thereupon both the wicked Qazis went to the king and reported to him that the wife of the pious man whom he had sent on journey had committed adultery. The king was very much s surprised on the report because the woman had a reputation for piety. He bent his head for a while and then lifting his head he said to them: “I believe you and accept your witness but give me three days time for issuing orders in the matter.”
The king then consulted his Wazir in the matter and said to him: “I don't think she is guilty of the act of adultery, what do you say about it?"
The Wazir also on hearing the report, said to the king: “I am also surprised.”
However, on the 3rd day the Wazir happened to pass by a lane where some children were playing, Hazrat Daniel (a) being among them.
Hazrat Daniel (a) said to one of the children: “Let us stage the drama of the wife of the pious man and the two Qazis, you play the part of the wife of the pious man and two other of you, the part of the Qazis.”
He then turned to the two boys and said to them: “You present the case of this woman to me as the two Qazis have presented it to the king.”
The king meanwhile has proclaimed with the beating of the drums as was the custom those days that the wife of the pious man had committed adultery and the, two Qazis had reported the matter to the king and, therefore, the woman was going to be stoned to death. Hazrat Daniel (a) called one of the boys who was playing the part of one of the Qazis and asked him: “What do you say in the matter ?” He also pointed to a wooden sword wrapped in a cloth, if you tell a lie I shall behead you with this sword.”
The boy replied: “Sir, the wife of the pious man has committed adultery and I am a witness to it”
Hazrat Daniel (a) asked him: “Where and when and on which day and what time” ? The boy answered all the questions of Hazrat Daniel (a). Then, Hazrat Daniel (a) called the other boy and put the same questions to him, but his answers were quite contrary to the answers of the other boy.
After hearing the second boy Hazrat Daniel (a) said: “God is great, you have given false witness in the case.”
He then acquitted the woman honourably and sentenced the boys who were playing the role of the Qazis to death.
The Wazir who saw this play of the boys and the judgement of Hazrat Daniel (a) in the play reported the whole thing to the king who decided the case accordingly (Wafi, vol. 9, p.161; Manaqib, vol. 7, p.193; Turuq-i-Hikmia, p. 60).