It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that a man came to the Prophet (peace and blessings be upon him) and said: Whatever Allah wills and you will. He (peace and blessings be upon him) said: "You have made me an equal to Allah! Say: Whatever Allah wills."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12950