This is an example of justice with compassion in Islam, which happened in Indonesia. This grandmother was charged for stealing tapioca to feed her grandchildren, who were too young to fend for themselves. The head judge told her that he could not make an exception for her and fined her 1 million rupiah.
He then proceeded to take off his court hat, put in 1 million rupiah and fined everyone else present in that court, besides the old grandmother, 50,000 rupiah for allowing someone to go so hungry until she had to steal to feed her grandchildren. They collected 3.5 million rupiah, deducted 1 million for the fine plus 50,000 for the lawyer’s fees and gave her the rest of the money.