The link below is informative :
Also I recommend reading Sheikh al-Abani's book on this matter :
The narrations you have quoted are not about praying to the Prophet instead of Allah, rather they are clearly praying to Allah and using the Messenger of Allah ﷺ as a wasilah.
They ask Allah to accept their supplication for the sake of the Prophet
They ask Allah to accept their supplication for the sake of their belief in and regard for the Prophet
إذا كان اباها غير مسلم فلا يصلح كولى
فلا ولاية لغير المسلم على مسلمة
عليها ان تؤكل مؤمن صالح كولى لها
If her father not a Muslim he can’t be her guardian (wali)
Non-Muslim can’t be wali (guardian) for Muslim woman
She had to select a godly Muslim (Mo’omen saleh) to be her wali (guardian)
As a muslim, I have never been told, heard or read in any hadith that writing fiction is haram, so take my words with a grain of salt and make sure to ask around! it's after all based on my experience.
The only precaution I was ever given was to not write/promote or read any texts that are blasphemous to Islam, Allah(swt) and the prophets(pbut), including ...
Just think like you bought a product. You got the ownership right. Now you can make copy of the product because you own it. Like you bought a goat and it make another goat. Can the company who gave you the goat say don't breed this goat and give to another person?. In islam only stealing a thing is haram. There is no hadees or quran saying about copying a ...