Shiva Purana
कदाचित्स हि सर्वेशं प्रदोषे पर्यपूजयत्॥ त्रयोदश्यां निराहारो दिवानक्तव्रती शिवम् ॥ ४९॥
Observing fast and other rites in the day and night on a Trayodaśī (thirteenth) day, once he worshipped Śiva, the lord of all, at dusk.
english translation
kadAcitsa hi sarvezaM pradoSe paryapUjayat॥ trayodazyAM nirAhAro divAnaktavratI zivam ॥ 49॥
hk transliteration by Sanscript