Read and reflect on verse 1638 from Surah Yusuf: And [thereupon Joseph] said unto the one of the two whom he considered saved: "Mention me unto thy lord [when thou art free]!" But Satan caused him to...
وَقَالَ لِلَّذِي ظَنَّ أَنَّهُ نَاجٍ مِنْهُمَا اذْكُرْنِي عِنْدَ رَبِّكَ فَأَنْسَاهُ الشَّيْطَانُ ذِكْرَ رَبِّهِ فَلَبِثَ فِي السِّجْنِ بِضْعَ سِنِينَ
And [thereupon Joseph] said unto the one of the two whom he considered saved: "Mention me unto thy lord [when thou art free]!" But Satan caused him to forget to mention [Joseph] to his lord, and so he remained in prison a few [more] years.