Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:17564Wakīʿ > al-Aʿmash > al-Minhāl b. ʿAmr > Yaʿlá b. Murrah from his father

[Machine] I was with the Prophet ﷺ on a journey, and we stopped at a place. He told me, "Go to those two trees and tell them that the Messenger of Allah ﷺ commands both of you to gather together." So I went to them and said, "That is what the Messenger of Allah ﷺ commands, that you both should gather." Then one of the trees leaned towards the other and they came together. The Prophet ﷺ came out and covered himself with them, and he fulfilled his need. Then each of them returned to their place.  

أحمد:١٧٥٦٤حَدَّثَنَا وَكِيعٌ حَدَّثَنَا الْأَعْمَشُ عَنْ الْمِنْهَالِ بْنِ عَمْرٍو عَنْ يَعْلَى بْنِ مُرَّةَ عَنْ أَبِيهِ قَالَ

كُنْتُ مَعَ النَّبِيِّ ﷺ فِي سَفَرٍ فَنَزَلَ مَنْزِلًا فَقَالَ لِيَ ائْتِ تِلْكَ الْأَشَاءَتَيْنِ فَقُلْ لَهُمَا إِنَّ رَسُولَ اللهِ ﷺ يَأْمُرُكُمَا أَنْ تَجْتَمِعَا فَأَتَيْتُهُمَا فَقُلْتُ لَهُمَا ذَلِكَ فَوَثَبَتْ إِحْدَاهُمَا إِلَى الْأُخْرَى فَاجْتَمَعَتَا فَخَرَجَ النَّبِيُّ ﷺ فَاسْتَتَرَ بِهِمَا فَقَضَى حَاجَتَهُ ثُمَّ وَثَبَتْ كُلُّ وَاحِدَةٍ مِنْهُمَا إِلَىمَكَانِهَا  


See similar narrations below:

Collected by Ibn Mājah
ibnmajah:339ʿAlī b. Muḥammad > Wakīʿ > al-Aʿmash > al-Minhāl b. ʿAmr > Yaʿlá b. Murrah from his father

"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."  

ابن ماجة:٣٣٩حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ حَدَّثَنَا وَكِيعٌ عَنِ الأَعْمَشِ عَنِ الْمِنْهَالِ بْنِ عَمْرٍو عَنْ يَعْلَى بْنِ مُرَّةَ عَنْ أَبِيهِ قَالَ

كُنْتُ مَعَ النَّبِيِّ ﷺ فِي سَفَرٍ فَأَرَادَ أَنْ يَقْضِيَ حَاجَتَهُ فَقَالَ لِي ائْتِ تِلْكَ الأَشَاءَتَيْنِ قَالَ وَكِيعٌ يَعْنِي النَّخْلَ الصِّغَارَ قَالَ أَبُو بَكْرٍ الْقِصَارَ فَقُلْ لَهُمَا إِنَّ رَسُولَ اللَّهِ ﷺ يَأْمُرُكُمَا أَنْ تَجْتَمِعَا فَاجْتَمَعَتَا فَاسْتَتَرَ بِهِمَا فَقَضَى حَاجَتَهُ ثُمَّ قَالَ لِي ائْتِهِمَا فَقُلْ لَهُمَا لِتَرْجِعْ كُلُّ وَاحِدَةٍ مِنْكُمَا إِلَى مَكَانِهَا فَقُلْتُ لَهُمَا فَرَجَعَتَا