Abdullah reported that Allah's Apostle ﷺ was reclining against a tree in the garden. The rest of the hadith is the same with a slight variation of wording.
كَانَ النَّبِيُّ ﷺ فِي نَخْلٍ يَتَوَكَّأُ عَلَى عَسِيبٍ ثُمَّ ذَكَرَ نَحْوَ حَدِيثِهِمْ عَنِ الأَعْمَشِ وَقَالَ فِي رِوَايَتِهِ وَمَا أُوتِيتُمْ مِنَ الْعِلْمِ إِلاَّ قَلِيلاً