Shiva Purana
ततो महानहङ्कारस्ततो बुद्धीन्द्रियाणि च ॥ जातानि मनसो रूपं स्यात्संकल्पविकल्पकम् ॥ १० ॥
From Buddhi the principle of intellect is born and from it ego. From the ego the sense-organs of knowledge. The mind has two aspects—thought and doubt.
english translation
tato mahAnahaGkArastato buddhIndriyANi ca ॥ jAtAni manaso rUpaM syAtsaMkalpavikalpakam ॥ 10 ॥
hk transliteration by Sanscript