He was ultimately found innocent and released. Being a very wise
        
        
          and reliable person and because he was completely exonerated, the ruler
        
        
          of Egypt placed the treasuries and storehouses under his authority.
        
        
          Ultimately, Yusuf forgave his brothers who had exposed him to cruelty
        
        
          and brought them and their father and mother to live with him.
        
        
          Yusuf, peace be upon him, had an exemplary character. Allah put
        
        
          him to the test in various ways, rescued him from a well from which it
        
        
          was impossible to escape, rescued him from an evil situation by sending
        
        
          him to prison and then rescued him from the prison and restored his good
        
        
          name, finally granting him high rank. In every situation, Yusuf, peace be
        
        
          upon him, turned towards Allah and prayed to Him. Despite his
        
        
          innocence he remained in prison for several years, yet he never forgot that
        
        
          this was a trial from Allah. In prison, he always spoke of Allah's might
        
        
          and grandeur to the people around him. His loyalty and trust in Allah
        
        
          under such harsh conditions shows us his excellent character.
        
        
          90
        
        
          Travellers in a caravan found Yusuf in a well and sold him at the palace of
        
        
          a nobleman in Egypt.