SB 7.10.69

evaṁ dagdhvā puras tisro
 bhagavān pura-hā nṛpa
brahmādibhiḥ stūyamānaḥ
 svaṁ dhāma pratyapadyata
Synonyms: 
evam — thus; dagdhvā — burning to ashes; puraḥ tisraḥ — the three residences of the demons; bhagavān — the supreme powerful; pura- — who annihilated the residences of the asuras; nṛpa — O King Yudhiṣṭhira; brahma-ādibhiḥ — by Lord Brahmā and other demigods; stūyamānaḥ — being worshiped; svam — to his own; dhāma — abode; pratyapadyata — returned.
Translation: 
O King Yudhiṣṭhira, thus Lord Śiva is known as Tripurāri, the annihilator of the three dwellings of the demons, because he burnt these dwellings to ashes. Being worshiped by the demigods, headed by Lord Brahmā, Lord Śiva returned to his own abode.