Abashed by the speech of his own infant son, Potiphar commanded his bailiffs to leave off from chastising Joseph, and the matter was brought into court, where priests sat as judges. Joseph protested his innocence, and related all that had happened according to the truth, but Potiphar repeated the account his wife had given him. The judges ordered the garment of Joseph to be brought which Zuleika had in her possession, and they examined the tear therein.

It turned out to be on the front part of the mantle, and they came to the conclusion that Zuleika had tried to hold him fast, and had been foiled in her attempt by Joseph, against whom she was now lodging a trumped up charge. They decided that Joseph had not incurred the death penalty, but they condemned him to incarceration, because he was the cause of a stain upon Zuleika's fair name."