Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I wonder if it's permissible to read a book in which Prophet Muhammad(PBUH) is reviled or depicted as someone bad, not directly but indirectly.
A well known example is The Satanic Verses by Salman Rushdie.
It is okay to read these kind of books from a literary point of view. Before doing so one should be knowledgeable about his own religion and especially deeper understanding of Quran,do that information given does not cause you to be misguided.
Required, but never shown