The wife of Noah and the wife of Lot, who were under two of Our righteous slaves yet betrayed them ... and it was said (unto them): Enter the Fire 66:10
O Prophet! Why bannest thou that which Allah hath made lawful for thee, seeking to please thy wives?"
Allah says it's OK for Muhammad to have sex with any of his wives whenever he wants. 66:1