Sayyiduna Salamah bin al-Akwa' (may Allah be pleased with him) narrates: I pledged allegiance to the Prophet (peace and blessings be upon him) among those who pledged allegiance beneath the tree.
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6229