Abdullah bin Umar reported,

We returned the following year, and not even two of us could agree on which tree it was beneath which we had pledged allegiance. It was a mercy from Allah.I asked Nafi, "On what did he take their pledge? On death?"He replied, "No, rather he took their pledge on perseverance."

Azami 13324

Sahih

عن جويرية، عن نافع قال:

قال ابن عمر

رجعنا من العام المقبل فما اجتمع منا اثنان على الشجرة التي بايعنا تحتها، كانت رحمة من الله فسألت نافعا على أي شيء بايعهم؟ على الموت؟ قال: لا، بل بايعهم على الصبر.

الأعظمي 13324صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Fath
Section
His saying, "Allah was certainly pleased with the believers when they pledged allegiance to you under the tree, and He knew what was in their hearts, so He sent down tranquility upon them and rewarded them with a near victory"
Numbering
Jami al-Kamil 13324 (2nd edition)
Azami 13324