Mohammad believed in what he said; he believed that he was inspired by God.
Quotes from Twenty Three Years: A Study of the Prophetic Career of Mohammad — Ali Dashti
Attribution
Quotes and notes from Wikiquote: Ali Dashti (page history), available under CC BY-SA 4.0.