Bhagavad Gita 18.41
Chapter 18: Freedom through renunciation
ब्राह्मणक्षत्रियविशां शूद्राणां च परन्तप ।
कर्माणि प्रविभक्तानि स्वभावप्रभवैर्गुणैः ॥ ४१ ॥
Of Brâhmanas, Kshattriyas, Vaishyas and Shûdras, O Parantapa, the duties have been distributed, according to the qualities born of their own natures.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.