This hadith has been transmitted on the authority of Shu'bah with a slight variation of wording and that is: The Holy Prophet (ﷺ) uttered these words: "It is I. it is I." in the manner as if he disapproved of this.
Hadith ReferenceSahih Muslim / The Book of Manners and Etiquette / Hadith: 2155