as salam alaikum
there is no clear reference to the fact that some people attempted to worship the Prophet as god during his lifetime. Rather the Qur'an tells us about another tendency among the disbelievers of his time: "Those who entertain no fear about being present before Us, nor do they expect it, say:- Why should not the angels be sent down on us or we see our Lord?-" (25:21). Their asking for angels and even for the Lord himself shows that they did not believe that the Prophet could be a god.
We can deduce this fact also by their saying: " Shall a mere human being guide us?" (64:6).
If someone would have tried to worship the Prophet as god certainly we would have known by multiple reports as such claim would have circulated and caused a particular sensation at that time.
With prayers for your success.