Hadithcore
Bulugh al-Maram, 94

At-Tabarani also narrated on the authority of Ibn ‘Umar (with a weak chain of narrators), the prohibition of relieving oneself under fruit trees and beside the bank of a flowing river.

وَأَخْرَجَ اَلطَّبَرَانِيُّ اَلنَّهْيَ عَن ْ [1]‏ تَحْتِ اَلْأَشْجَارِ اَلْمُثْمِرَةِ, وَضَفَّةِ اَلنَّهْرِ الْجَارِي.‏ مِنْ حَدِيثِ اِبْنِ عُمَرَ بِسَنَدٍ ضَعِيف ٍ [2]‏ .‏

References2 variants
In-Book Reference
Book 1, Hadith 112
English Reference
Book 1, Hadith 100