Near the end of the tale, Attaf is given a death sentence for a crime he did not commit but Harun, knowing the truth from what he has read in the book, prevents this and has Attaf released from prison. In the 12th century, this tale was translated into Latin by Petrus Alphonsi and included in his "Disciplina Clericalis", alongside the "Sindibad" story cycle. In the 14th century, a version of "The Tale of Attaf" also appears in the "Gesta Romanorum" and Giovanni Boccaccio's "The Decameron".