I have heard that on one occasion the Blessed One was staying near Kosambī at Ghosita's monastery. And on that occasion the inner quarters of King Udena's royal park had burned down, and 500 women, headed by Sāmāvatī, had died.

Then in the early morning, a large number of monks adjusted their under robes and — carrying their bowls & robes — went into Kosambī for alms. Having gone for alms in Kosambī, after the meal, returning from their alms round, they went to the Blessed One and, on arrival, having bowed down to him, sat to one side. As they were sitting there, they said to the Blessed One, "Lord, the inner quarters of King Udena's royal park have burned down, and 500 women, headed by Sāmāvatī, have died. What is the destination of those female lay followers? What is their future course?"

"Monks, among those female lay followers are stream-winners, once-returners, & non-returners. All of those female lay followers, monks, died not without [noble] fruit."

Then, on realizing the significance of that, the Blessed One on that occasion exclaimed:

Bound round with delusion, the worldonly appears to be competent.Bound with acquisitions, foolish,surrounded by darkness,it seems eternal, but for one who sees, there is nothing.

Samavati, one of the consorts of King Udena, was the woman lay follower of the Buddha foremost in loving-kindness (metta). According to the Commentary, the fire was deliberately caused by Magandiya, another consort of the king. She hated the Buddha and also Samavati because of the latter's devotion to the Buddha. The full story can be found in Buddhist Legends 1:274-93.

Translation of the verse:

The world is held in bondage by delusionAnd only appears to be capable. (*)To a fool, held in bondage by clingingAnd wrapped up in darkness,It appears to be eternal, But for one who sees there is nothing.