The story then explains how Ibn al-Qāriḥ was able to enter heaven. While waiting for his judgement outside the realm of heaven Ibn al-Qāriḥ feels nervous about the prospects of his judgement, knowing he has led a life of schmoozing to rich men and bones and sins he decides to write a poem to the guards of heaven.
The story then reveals how Ibn al-Qāriḥ was able to gain entry into heaven. As he waits outside the gates of heaven, Ibn al-Qāriḥ feels apprehensive about his judgment, knowing that his life has been characterized by shallow connections with wealthy individuals and past wrongdoings, leading him to write a poem for the heavenly sentinels.