>>17807418 (OP)When Muhammad composed the Quran, he also forgot multiple verses like Joseph Smith with Harris and the 116 missing pages. There's actually a verse in the Quran that says Allah deliberately made Muhammad forget those verses just like the explanation for Joseph Smith.
https://quran.com/en/al-baqarah/106
There's also a hadith where Muhammad says he forgot verses (because Allah made him forget) and someone else reminded them of the verses.
https://sunnah.com/bukhari:5038
There was also a verse on a manuscript eaten by a sheep and left out of the Quran.
https://sunnah.com/ibnmajah:1944
Also a hadith which says Muhammad is fallible.
https://sunnah.com/muslim:2361
The difference between Muhammad and Joseph Smith is that the literary quality of the Quran is higher in its own language than the Book of Mormon. The verses of the Quran in each chapter rhyme with each other. Joseph Smith didn't make an effort to make the Book of Mormon sound better in English.