Surah Al-Hujurat 49:13
يَـٰٓأَيُّهَا ٱلنَّاسُ إِنَّا خَلَقْنَـٰكُم مِّن ذَكَرٍ وَأُنثَىٰ وَجَعَلْنَـٰكُمْ شُعُوبًا وَقَبَآئِلَ لِتَعَارَفُوٓا۟ ۚ إِنَّ أَكْرَمَكُمْ عِندَ ٱللَّهِ أَتْقَىٰكُمْ ۚ إِنَّ ٱللَّهَ عَلِيمٌ خَبِيرٌ
O mankind, indeed We have created you from male and female and made you peoples and tribes that you may know one another. Indeed, the most noble of you in the sight of Allāh is the most righteous of you. Indeed, Allāh is Knowing and Aware.
Translation: Saheeh International
Tafsir
O mankind! We have indeed created you from a male and a female from Adam and Eve and made you nations shu‘ūb is the plural of sha‘b which is the broadest category of lineage and tribes qabā’il which are smaller than nations and are followed by ‘amā’ir ‘tribal districts’ then butūn ‘tribal sub-districts’ then afkhādh …
Excerpt from Tafsir al-Jalalayn, commentary on 49:13, via Quran.com. The reader has the full commentary and 9 more tafsirs.