The story is of Syamantakopakhyanam, annually read during the Ganesh Chaturthi festival day celebrations of Lord Vinayaka.