At-Tahrim (Holding Something Unlawful)
Surah 66 · Verse 10
Allah sets forth an example for those who do not believe: the wife of Nuh and the wife of Lut, they were under Our two servants from among Our righteous servants but they betrayed them, so (their being wives of prophets) could not make them free from any (punishment) from Allah and it was said, “Enter the fire with those who enter.”
Wives of Nuuh (PHB) and Lut (PBH) will be punished for their disbelief. Wife of Firawn, who was an infidel, had believed. Relationship has nothing to do with belief, reward or punishment.



