Language:
كتاب التوحيد
97  
Oneness, Uniqueness of Allah (Tawheed)
(26)
Chapter: “Verily, Allah grasps the heavens and the earth lest they move away from their places…”
(26)
Sahih al-Bukhari 7451

Narrated `Abdullah:

A Jewish Rabbi came to Allah's Messenger (ﷺ) and said, "O Muhammad! Allah will put the Heavens on one finger and the earth on one finger, and the trees and the rivers on one finger, and the rest of the creation on one finger, and then will say, pointing out with His Hand, 'I am the King.' "On that Allah's Apostle smiled and said, "No just estimate have they made of Allah such as due to Him. (39.67)

حَدَّثَنَا مُوسَى، حَدَّثَنَا أَبُو عَوَانَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، عَنْ عَبْدِ اللَّهِ، قَالَ جَاءَ حَبْرٌ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا مُحَمَّدُ إِنَّ اللَّهَ يَضَعُ السَّمَاءَ عَلَى إِصْبَعٍ، وَالأَرْضَ عَلَى إِصْبَعٍ، وَالْجِبَالَ عَلَى إِصْبَعٍ، وَالشَّجَرَ وَالأَنْهَارَ عَلَى إِصْبَعٍ، وَسَائِرَ الْخَلْقِ عَلَى إِصْبَعٍ، ثُمَّ يَقُولُ بِيَدِهِ أَنَا الْمَلِكُ فَضَحِكَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَقَالَ ‏"‏ ‏{‏وَمَا قَدَرُوا اللَّهَ حَقَّ قَدْرِهِ‏}‏‏"‏
Reference : Sahih al-Bukhari 7451
In-book reference : Book 97, Hadith 77
USC-MSA web (English) reference : Vol. 9, Book 93, Hadith 543
  (deprecated numbering scheme)