Sahih Muslim Book 40, Hadith Number 6847.
This hadith has been narrated through other chains of transmitters on the authority of Ibn Abbas, (and) the words are: While Allah’s Messenger (may peace be upon him) stood up to deliver a sermon, he said: O people, Allah would make you assemble barefooted, naked and uncircumcised (and then recited the words of the Qur’an): “As We created you for the first time, We shall repeat it. (It is) a promise (binding) upon us. Lo! We are to perform it, and the first person who would be clothed on the Day of Resurrection would be (Hadrat) Ibrahim (peace be upon him)” and, behold! some persons of my Ummah would be brought and taken to the left and I would say: My Lord, they are my companions, and it would be said: You do not know what they did after you, and I would say just as the pious servant (Hadrat ‘Isa) said:,I was a witness regarding them as I remained among them and Thou art a witness over everything, so if Thou chastisest them, they are Thy servants and if Thou forgivest them, Thou art Mighty, Wise” (v. 117-118). And it would be said to him: They constantly turned to their heels since you left them. This hadith has been transmitted on the authority of Waki’ and Mu’adh (and the words are): “What new things they fabricated.”