The Prophet ﷺ speaking highly of Prophets Hūd and Yūsuf
The Messenger of Allah ﷺ said, "May Allah have mercy on Lūṭ: that he resorted to protection through strong support (Hūd 11:80). And if I were to stay imprisoned like Yūsuf stayed imprisoned, I would have respond to the ˹invitiation of the King's˺ caller. (Yūsuf 12:50)"
قَالَ رَسُولُ اللهِ ﷺ: «يَرْحَمُ اللهُ لُوطًا لَقَدْ كَانَ يَأْوِي إِلَى رُكْنٍ شَدِيدٍ؛ وَلَوْ لَبِثْتُ فِي السِّجْنِ مَا لَبِثَ يُوسُفُ لَأَجَبْتُ الدَّاعِيَ۔»