Sunan Ibn Majah, Book 1, Hadith 363 (In-Book) ⓘ
It was narrated from Ya'la bin Murrah that his father said: "I was with the Prophet on a journey, and he wanted to relieve himself. He said to me: 'Go to those two small date-palm trees and tell them: "The Messenger of Allah orders you to come together.'" So they came together and he concealed himself behind them, and relieved himself. Then he said to me: 'Go to them and tell them: "Go back, each one of you, to your places.'" So I said that to them and they went back."
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، عَنِ الأَعْمَشِ، عَنِ الْمِنْهَالِ بْنِ عَمْرٍو، عَنْ يَعْلَى بْنِ مُرَّةَ، عَنْ أَبِيهِ، قَالَ كُنْتُ مَعَ النَّبِيِّ ـ صلى الله عليه وسلم ـ فِي سَفَرٍ فَأَرَادَ أَنْ يَقْضِيَ حَاجَتَهُ فَقَالَ لِي " ائْتِ تِلْكَ الأَشَاءَتَيْنِ " . - قَالَ وَكِيعٌ يَعْنِي النَّخْلَ الصِّغَارَ . قَالَ أَبُو بَكْرٍ الْقِصَارَ - " فَقُلْ لَهُمَا إِنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَأْمُرُكُمَا أَنْ تَجْتَمِعَا " . فَاجْتَمَعَتَا فَاسْتَتَرَ بِهِمَا فَقَضَى حَاجَتَهُ ثُمَّ قَالَ لِي " ائْتِهِمَا فَقُلْ لَهُمَا لِتَرْجِعْ كُلُّ وَاحِدَةٍ مِنْكُمَا إِلَى مَكَانِهَا " . فَقُلْتُ لَهُمَا فَرَجَعَتَا .
also referenced under: Hadith 339 (Reference) & Volume 1, Book 1, Hadith 339 (DarusSalam)