Sahih al-Bukhari Book 65, Hadith 263
The Prophet (ﷺ) said, "On the day of Resurrection Allah will say, 'O Adam!' Adam will reply, 'Labbaik
our Lord, and Sa`daik ' Then there will be a loud call (saying), Allah orders you to take from among
your offspring a mission for the (Hell) Fire.' Adam will say, 'O Lord! Who are the mission for the
(Hell) Fire?' Allah will say, 'Out of each thousand, take out 999.' At that time every pregnant female
shall drop her load (have a miscarriage) and a child will have grey hair. And you shall see mankind as
in a drunken state, yet not drunk, but severe will be the torment of Allah." (22.2) (When the Prophet (ﷺ)
mentioned this), the people were so distressed (and afraid) that their faces got changed (in color)
whereupon the Prophet (ﷺ) said, "From Gog and Magog nine-hundred ninety-nine will be taken out and
one from you. You Muslims (compared to the large number of other people) will be like a black hair
on the side of a white ox, or a white hair on the side of a black ox, and I hope that you will be onefourth
of the people of Paradise." On that, we said, "Allahu-Akbar!" Then he said, "I hope that you
will be) one-third of the people of Paradise." We again said, "Allahu-Akbar!" Then he said, "(I hope
that you will be) one-half of the people of Paradise." So we said, Allahu Akbar."
The Prophet (ﷺ) delivered a sermon and said, "You (people) will be gathered before Allah (on the Day of Resurrection) bare-footed, naked and uncircumcised." (The Prophet (ﷺ) then recited):-- 'As We began the first creation We shall repeat it. (It is) a promise We have undertaken and truly We shall do it.' and added, "The first man who will be dressed on the Day of Resurrection, will be Abraham. Lo! Some men from my followers will be brought and taken towards the left side, whereupon I will say, 'O Lord, (these are) my companions!' It will be said, 'You do not know what new things they introduced (into the religion) after you.' I will then say as the righteous pious slave, Jesus, said, 'I was a witness over them while I dwelt among them...(to His Statement)..and You are the Witness to all things.' (5.117) Then it will be said, '(O Muhammad) These people never stopped to apostate since you left them."
Regarding the Verse: "And among men is he who worships Allah's as it were on the very edge." (22.11). A man used to come to Medina as if his wife brought a son and his mares produces offspring. He would say, "This religion (Islam) is good," but if his wife did not give birth to a child and his mares produced no offspring, he would say, "This religion is bad."