Shiva Purana
यो वैदिकमनादृत्य कर्म स्मार्तमथापि वा । अन्यत्समाचरेन्मर्त्यो न संकल्पफलं लभेत् ४४ ।
The man who rejects the Vedic rites and follows those laid down in Smṛtis or any other rite will not derive the conceived fruit.
english translation
yo vaidikamanAdRtya karma smArtamathApi vA । anyatsamAcarenmartyo na saMkalpaphalaM labhet 44 ।
hk transliteration by Sanscript