Lawyer defending criminals in court

Q: I am a lawyer by profession. I represent people who are being prosecuted for criminal charges and defend them in court.

In many instances, the accused party confesses to me that they are guilty of the crime for which they are being charged, even though they plead 'not guilty' to the court. In such situations, is it permissible for me to defend the accused in court, knowing that I am defending a guilty person who is lying to the court?

Hadith regarding aiding and supporting unjust rulers

Q: What is the meaning of this?

ليأتين عليكم أمراء يقربون شرار الناس ويؤخرون الصلاة عن مواقيتها فمن أدرك ذلك منكم فلا يكونن عريفا ولا شرطيا ولا جابيا ولا خازنا

Imam Ibn Hibban (rahimahullah) has recorded this Hadith and has declared it authentic.

(Sahih Ibn Hibban; Al Ihsan, Hadith: 4586. Also see: Musnad Abi Ya’la, Hadith: 1115 and Majma’uz Zawaid, vol. 5 pg. 240)

Selling books with animate objects

Q: I want to sell physical health eBooks that may contain a few images of humans for the purposes of demonstration e.g. a fitness eBook demonstrating how to perform an exercise or movement. Both male and female images are found in the books and at times, a portion of the awrah of the males and females are exposed. However, this is for demonstrational and educational purposes.

What is the ruling on this and if I had earned wealth through selling these books, what is the status of my wealth, is it halaal or haraam?

Framing photos for people

Q: I work as a picture framer. Sometimes I receive photos of people for framing. Occasionally, Hindus bring bhagwaans for framing. Christians bring pictures of Jesus and Jews bring things of their religion. What should I do in these situations?