Shiva Purana
परमो योगपर्यन्तो धर्मः श्रुतिशिरोगतः ॥ धर्मस्त्वपरमस्तद्वदधः श्रुतिमुखोत्थितः ॥ ६ ॥
The higher dharma upto the practice of Yoga is mentioned in the Vedantic section of the Vedas. The secondary Dharma is mentioned in the Karmakāṇḍa section of the same.
english translation
paramo yogaparyanto dharmaH zrutizirogataH ॥ dharmastvaparamastadvadadhaH zrutimukhotthitaH ॥ 6 ॥
hk transliteration by Sanscript