When the brothers of Yusuf (as) threw him in the well they went back to their father crying
“And they came to their father at night, weeping”(12:16)
Even though they had done an evil, they covered that evil with a good story, lied, cried and pronounced innocent, not everyone that cries is telling the truth
It is from the justice of al-islam that both sides to any story are heard, a person would be unfair to hear one side of a claim and not the other, this was a tough lesson taught even to the Prophet Dawoud (as)
The summary of Dawouds (as) story is he is presented with 2 men who enter his home uninvited, one presents his side of the case, Dawoud rules on it without hearing the other side,
“(Dawoud) said, “He has certainly wronged you in demanding your ewe [in addition] to his ewes. And indeed, many associates oppress one another, except for those who believe and do righteous deeds – and few are they.” (38:24)
the 2 men disappear, Dawoud realised this was a test
“And Daud became certain that We had tried him, and he asked forgiveness of his Lord and fell down bowing [in prostration] and turned in repentance [to Allah]. So We forgave him that; and indeed, for him is nearness to Us and a good place of return” (38:25)
The lesson for us is, don’t pass judgement with out hearing both sides of a story, in case you unjustly give a verdict that you may regret later
Umm Salama, the wife of Allah’s Messenger (ﷺ), reported that Allah’s Messenger (ﷺ) heard the clamour of contenders at the door of his apartment. He went to them, and said:
“I am a human being and the claimants bring to me (the dispute) and perhaps some of them are more eloquent than the others. I judge him to be on the right, and thus decide in his favcur. So he whom I, by my judgment, (give the undue share) out of the right of a Muslim,. I give him a portion of Fire; he may burden himself with it or abandon it” (muslim)