Ubayy bin Kaab reported,

I heard the Messenger of Allah ﷺ say, and he then mentioned the story of Musa and al-Khidr, peace be upon them, in which it was said: The two of them set off, walking along the seashore, having no boat. A boat passed by them, and they spoke to its crew, asking to be taken aboard. The crew recognized al-Khidr, so they carried them across without charge.Then a sparrow came and landed on the edge of the boat. It dipped its beak once or twice into the sea.Al-Khidr said, "Musa, my knowledge and your knowledge, compared to the knowledge of Allah, are only like what this sparrow has taken from the sea with its beak."

Azami 250

Sahih

عن أبي بن كعب قال

سمعت رسول الله ﷺ يقول: فذكر قصة موسي والخضر عليهما السلام وجاء فيه: فانطلقا يمشيان على ساحل البحر، ليس لهما سفينة، فمرت بهما سفينة فكلموهم أن يحملوهما، فعرف الخضر فحملوهما بغير نول، فجاء عصفور فوقع على حرف السفينة، فنقر نقرة أو نقرتين في البحر، فقال الخضر: يا موسى ما نقص علمي وعلمك من علم الله إلا كنقرة هذا العصفور في البحر.

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