Shiva Purana
ज्ञानाज्ञानधृतो वापि वह्निदाहसमो यथा । ज्ञानाज्ञानधृतं भस्म पावयेत्सकलं नरम् ४२ ।
Just as the fire when touched with or without knowledge burns the body so does the ash worn consciously or unconsciously sanctify the man.
english translation
jJAnAjJAnadhRto vApi vahnidAhasamo yathA । jJAnAjJAnadhRtaM bhasma pAvayetsakalaM naram 42 ।
hk transliteration by Sanscript