Peace,
Had the Prophet fabricated certain sayings:
when he was threatened as mentioned in 10:15
"When Our clear revelations are recited to them, those who do not expect to meet Us say, Bring us a different Quran, or make some changes in it. Say, It is not for me to change it of my own accord. I follow only what is revealed to me. I fear, if I were to disobey my Lord, the punishment on a Dreadful Day. or
when he was tempted as mentioned in 17:73
"They indeed sought to entice you away from what We revealed to you, hoping that you might invent something else in Our name; and then they would have accepted you as a close friend.
but he has never done it