The Messenger of Allah ﷺ said, "Allah will single out a man from my community before all of creation on the Day of Resurrection. He will unfold before him ninety-nine scrolls, each scroll stretching as far as the eye can see.Then He will say, 'Do you deny any of this? Have My recording angels wronged you?'The man will reply, 'No, my Lord.'He will ask, 'Do you have any excuse?'The man will reply, 'No, my Lord.'Allah will say, 'Indeed, you have with Us a single good deed, and no injustice will be done to you today.'Then a small card will be brought out, on which is written, 'I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and messenger.'Allah will say, 'Come and witness your weighing.'The man will say, 'My Lord, what is this card against all these scrolls?'He will reply, 'You will not be wronged.'"The Prophet continued, "The scrolls will be placed on one pan of the scale and the card on the other. The scrolls will fly up and the card will weigh down, for nothing outweighs the name of Allah."
حدثنا سويد بن نصر أخبرنا عبد الله عن ليث بن سعد حدثني عامر بن يحيى عن أبي عبد الرحمن المعافري ثم الحبلي قال سمعت
قال رسول الله ﷺ إن الله سيخلص رجلا من أمتي على رءوس الخلائق يوم القيامة فينشر عليه تسعة وتسعين سجلا كل سجل مثل مد البصر ثم يقول أتنكر من هذا شيئا أظلمك كتبتي الحافظون فيقول لا يا رب فيقول أفلك عذر فيقول لا يا رب فيقول بلى إن لك عندنا حسنة فإنه لا ظلم عليك اليوم فتخرج بطاقة فيها أشهد أن لا إله إلا الله وأشهد أن محمدا عبده ورسوله فيقول احضر وزنك فيقول يا رب ما هذه البطاقة مع هذه السجلات فقال إنك لا تظلم قال فتوضع السجلات في كفة والبطاقة في كفة فطاشت السجلات وثقلت البطاقة فلا يثقل مع اسم الله شيء
Its isnad is sahih. Ahmad narrated it in 2/213 from the hadith of Ibn Mubarak with the same wording, and it is in his Zuhd (additions of Nuaym), hadith 371. Hakim graded it sahih in 1/6, 529, and Dhahabi agreed with him. Ibn Majah narrated it, hadith 4300, from the hadith of Layth bin Saad with the same wording.