The Bodhisatta was once a gardener in Bārāṇasī, and because his only possession was a spade (kuddāla) he was known as Kuddāla Paṇḍita. Later he became a recluse, but six times thoughts of his spade drew him back to the world. The seventh time he threw the spade into the river and shouted for joy, winning insight. The king of Bārāṇasī heard his shouts, and on knowing the reason for them, resolved to join Kuddāla as an anchorite. When the news spread, the people from twelve leagues round accompanied them, and Sakka sent Vissakamma to erect monasteries for them in the Himavā.
The story was told in reference to Citta-
The same story is given in different words in the Dhammapada Commentary (DhA.i.311 f).