From Sahih Muslim (Hadith 2981):
A hadith like this is transmitted on the authority of Imran b. Husain, but with this variation that he ('Imran) said:We did that (Tamattu') in the company of Allah's Messenger (ﷺ) and he did not say anything but he (the Holy Prophet) commanded us to do it
Reference: Muslim 2981