All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
In principle, writing fictional examples, such as stories, articles, expressions, and the like, is permissible, and it is not a forbidden lie – which is telling about reality other than what it is – but rather, it is a matter of giving examples.
The Fatwa of Ibn Hajar Al-Haythami reads:
“Stories appear to be a lie, but in reality, they are not; rather, it is just giving examples.
We advise you to refrain from whispers, ignore them, and seek treatment.
Allah Knows best.