The people used to go out (from Mecca after Hajj) by all sides. The Prophet ﷺ said: No one should leave (Mecca) until he performs the last circumambulation of the House (the Ka'bah). (Using translation from Abū Dāʾūd 2002)
كَانَ النَّاسُ يَنْفِرُونَ مِنْ كُلِّ وَجْهٍ فَقَالَ رَسُولُ اللَّهِ ﷺ «لَا يَنْفِرَنَّ أَحَدٌ حَتَّى يَكُونَ آخِرَ عَهْدِهِ الطَّوَافُ بِالْبَيْتِ»