Abdullah bin Masud reported,

A Jewish scholar came to the Prophet ﷺ and said, "Muhammad," or "Abu Qasim, Allah will hold the heavens on one finger on the Day of Resurrection, the earths on another finger, the mountains and trees on another finger, the water and soil on another finger, and the rest of creation on another finger. Then He will shake them and say, 'I am the King, I am the King.'"The Messenger of Allah ﷺ laughed in amazement at what the scholar said, affirming his statement, then he recited, "They have not appraised Allah with true appraisal, while the earth entirely will be in His grip on the Day of Resurrection, and the heavens will be folded in His right hand. Exalted is He سبحانه وتعالى above what they associate with Him" [Zumar 39:67].

Azami 348

Sahih

عن ابن مسعود قال

جاء حبر إلى النبي ﷺ فقال: يا محمد- أو يا أبا القاسم-، إن الله يمسك السماوات يوم القيامة على إصبع، والأرضين على إصبع، والجبال والشجر على إصبع، والماء والثرى على إصبع، وسائر الخلق على إصبع، ثم يهزهن فيقول: أنا الملك، أنا الملك، فضحك رسول الله ﷺ تعجبا مما قال الحبر تصديقا له، ثم قرأ {وما قدروا الله حق قدره والأرض جميعا قبضته يوم القيامة والسماوات مطويات بيمينه سبحانه وتعالى عما يشركون} [سورة الزمر: ٦٧].

الأعظمي 348صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Affirmation of fingers for Allah the Exalted
Numbering
Jami al-Kamil 348 (2nd edition)
Azami 348