Bhagavata Purana
According to the Bhagavata Purana, "There in Badrikashram, the supreme being (Vishnu), in his incarnation as the sages Nara and Narayana, had been undergoing great penance since time immemorial for the welfare of all living entities." (Bhagavata Purana 3.4.22)