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