لَّقَدْ رَضِيَ اللَّهُ عَنِ الْمُؤْمِنِينَ إِذْ يُبَايِعُونَكَ تَحْتَ الشَّجَرَةِ فَعَلِمَ مَا فِي قُلُوبِهِمْ فَأَنزَلَ السَّكِينَةَ عَلَيْهِمْ وَأَثَابَهُمْ فَتْحًا قَرِيبًا
“Indeed, Allah was pleased with the believers when they pledged allegiance to you [O Prophet] under the tree. He knew what was in their hearts, so He sent down serenity upon them and rewarded them with a victory at hand.”
Revealed concerning the Bay'at al-Ridwan taken beneath the tree at Hudaybiyyah.