Assalamu Alaikum! I have been noticing that great muslim authors on Wattpad are deleting their books and are taking them down thinking that fictional stories are haraam. After doing some research, ive come into a conclusion that it isnt haraam. I have given some info taken by a respected website.
"There is nothing wrong with that if it deals with spiritual or moral or social problems, because there is nothing wrong with giving likenesses by telling fictional stories. In fact some of the scholars have stated that some of the likenesses given in the Holy Qur’an did not refer to real events; rather Allah gave these as examples (to teach a lesson), such as when He, may He be exalted, said (interpretation of the meaning):
“And Allah puts forward (another) example of two men, one of them dumb, who has no power over anything (disbeliever), and he is a burden to his master, whichever way he directs him, he brings no good. Is such a man equal to one (believer in the Islamic Monotheism) who commands justice, and is himself on a Straight Path?”
[an-Nahl 16:76].
So I do not think that there is anything wrong with that, because the purpose is to warn others. But if it so happens that a person has knowledge of what is in the Qur’an and Sunnah, then he quotes verses in his writings that deal with problems, and he explains them and gives likenesses for them, this is something good. The same applies to quoting some hadeeths and explaining them and giving likenesses for them. This is undoubtedly good.
End quote from Fataawa ‘ala ad-Darb, tape no. 358"
Website on Islamqa.info answer given by a Shaikh.