The Prophet ﷺ said, "There shall come out of the Fire whoever said, 'There is no god but Allah,' and had in his heart the weight of a barley grain of goodness. And there shall come out of the Fire whoever said, 'There is no god but Allah,' and had in his heart the weight of a wheat grain of goodness. And there shall come out of the Fire whoever said, 'There is no god but Allah,' and had in his heart the weight of an atom of goodness."
عن النبي ﷺ قال: يخرج من النار من قال: لا إله إلا الله، وفي قلبه وزن شعيرة من خير، ويخرج من النار من قال: لا إله إلا الله، وفي قلبه وزن برة من خير، ويخرج من النار من قال: لا إله إلا الله وفي قلبه وزن ذرة من خير.
Bukhari related it in the Book of Faith (44), and Muslim in the Book of Faith (193:325), both from the hadith of Hisham, the companion of Dastawai, who said, Qatada narrated to us, from Anas, and he mentioned it. The wording given here is Bukhari's, and Muslim's wording is close to it.He said, I do not know whether it was the third or fourth time he said, "So I say, 'O Lord, no one remains in the Fire except one whom the Quran has confined.'"Qatada said, meaning, eternal dwelling in the Fire has become binding upon him.Bukhari mentioned it (6565), and Muslim (322).As for his saying "dharrah," with a fatha on the dhal and a doubled ra, it refers to the small creature among the ants, and the word is also used for what is seen floating in a ray of sunlight entering through a window. However, Shuba related it from Qatada, from Anas, and in place of "dharrah" he said "dharah," with a fatha on the dhal and a single, light ra, which is a misreading on his part, as Muslim mentioned it on the authority of Yazid bin Zuray.The fourth of the narrators is what Hasan Basri mentioned from Anas bin Malik, which is coming next.