Mahashivratri finds its mention in ancient religious texts like Skanda Purana, Linga Purana and Padma Purana.