I asked Masruq, "Who informed the Prophet ﷺ about the jinn on the night they listened to the Quran?"He replied, "Your father, meaning Ibn Masud, told me that a tree informed him of their presence."
حدثنا سعيد بن محمد الجرمي وعبيد الله بن سعيد قالا حدثنا أبو أسامة عن مسعر
سألت مسروقا من آذن النبي ﷺ بالجن ليلة استمعوا القرآن فقال حدثني أبوك يعني ابن مسعود أنه آذنته بهم شجرة