Sure Yusuf

12:26

قَالَ هِىَ رَٰوَدَتْنِى عَن نَّفْسِى ۚ وَشَهِدَ شَاهِدٌۭ مِّنْ أَهْلِهَآ إِن كَانَ قَمِيصُهُۥ قُدَّ مِن قُبُلٍۢ فَصَدَقَتْ وَهُوَ مِنَ ٱلْكَٰذِبِينَ

Er sagte: "Sie war es, die versucht hat, mich zu verführen." Und ein Zeuge aus ihrer Familie bezeugte: "Wenn sein Hemd vorn zerrissen ist, dann hat sie die Wahrheit gesprochen, und er gehört zu den Lügnern.

Tafsir 12:26

Joseph (peace be upon him) said: It was she who tried to get me to commit an indecent act. I did not intend it from her. Allah then made a child from her family speak in the cradle and it testified saying: If Joseph’s shirt is torn from the front, then it indicates that she is truthful, because she was trying to stop him from coming on to her; and then he will be lying.