Coincidence. Many people say many things.
You may find this interesting:
http://misconceptions-about-islam.com/muhammad-human.htmlExcerpt:
Like others, Prophet Muhammad the person, did not know the future (5:109, 6:50, 7:188, 10:20, 11:31, 27:65).
Say, "I am but a human being like you being inspired that your god is One god. So whoever looks forward to meeting his Lord, then let him do good works and not set up any partner in the service of his Lord." [18:110]
Say: "I am no different from the other messengers, nor do I know what will happen to me or to you. I only follow what is inspired to me. I am no more than a clear warner" [46:9]
Say, "I am no more than a human being like you. I am inspired that your god is One god..." [41:6]