Narrated ‘Abdur-Rahman:
“I asked Masruq, ‘Who informed the Prophet about the Jinns at the night when they heard the Qur’an?’ He said, ‘Your father ‘Abdullah informed me that a tree informed the Prophet about them.’ ”
Sahih Bukhari, Volume 5, Book58, Number 199