Abdullah bin Jafar bin Abu Talib reported,

The Messenger of Allah ﷺ once seated me behind him on his mount and confided to me something I would never share with anyone. The places the Messenger of Allah ﷺ most preferred to use as cover when relieving himself were a raised barrier or a cluster of palm trees.In another narration he said, meaning a palm grove.

Azami 1485

Sahih

عن عبد الله بن جعفر قال

أردفني رسول الله ﷺ ذات يوم خلفه، فأسر إلى حديثا لا أحدث به أحدا من الناس، وكان أحب ما استتر به رسول الله ﷺ لحاجته هدف، أو حائش نخل. وقال في رواية: يعني حائط نخل.

الأعظمي 1485صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Ghusl
Section
Covering oneself during ghusl, urination, and defecation
Numbering
Jami al-Kamil 1485 (2nd edition)
Azami 1485