Sayyiduna Salamah bin al-Akwa' (may Allah be pleased with him) narrates: We used to pray the Friday prayer with the Messenger of Allah (peace and blessings be upon him) when the walls did not yet have enough shade for anyone to sit in.
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6230