Yes, there is such a thing in our scriptures.
Bhishma said, ‘He is said to be conversant with duty who knows duty as
depending on four foundations.’
[four foundations, i.e., as laid down
in the Vedas; as laid down in the Smritis; as sanctioned by ancient
usage and customs; and as approved by the heart or one’s own
Mahabharata, Santi Parva, ...