Maan bin Abdul-Rahman reported,

I heard my father say, I asked Masruq, "Who informed the Prophet ﷺ of the jinn on the night they listened to the Quran?"He replied, "Your father, meaning Abdullah, told me that a tree informed him of them."

Azami 13622

Sahih

عن معن بن عبد الرحمن قال

سمعت أبي قال: سألت مسروقا من آذن النبي ﷺ بالجن ليلة استمعوا القرآن؟ فقال: حدثني أبوك-يعني عبد الله- أنه آذنت بهم شجرة.

الأعظمي 13622صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Jinn
Section
His saying, "Say, 'It has been revealed to me that a group of jinn listened and said, "Indeed, we have heard a wondrous Quran. It guides to the right way, so we have believed in it, and we will never associate anyone with our Lord"'"
Numbering
Jami al-Kamil 13622 (2nd edition)
Azami 13622