 One of the sayings of Muhammad, in the collection of Imam Bukhari, says that Muhammad said "One should not say that I am better than Jonah".A similar statement occurs in a hadith written by Yunus bin Yazid, the second caliph of the Umayyad Dynasty.Umayya ibn Abi al-Salt, an older contemporary of Muhammad, taught that, had Jonah not prayed to Allah, he would have remained trapped inside the fish until Judgement Day, but, because of his prayer, Jonah "stayed only a few days within the belly of the fish".