Ok, we see that Muhammad had desire for a married woman but tried to conceal it, yet Allah reprimands him by saying he cannot conceal his desire for a married woman. This is obviously opposing both OT and NT and is put under the category of adultry but the point is that Allah saved Muhammad from the scandal by saying it is ok.
Now let us see what happened between Hafsa, Aisha, Muhammad and Maria the Copt, the happy family and how Allah “dealt” with it.
According to tradition, Muhammad would take a rota with his wives, sleeping with each in their turn. One night, during Hafsa’s turn, she asked to visit her father, and Muhammad granted her request. While she was gone, Muhammad took Mary the Coptic slave-girl and slept with her in Hafsa’s bed ( east, Hafsa is not there, someone else must satisfy him in Hafsa’s bed). Hafsa returned, was enraged, and confronted Muhammad. He promised (on oath) not to touch Mary again if she would keep this a secret, and then promised that her father Umar would be his successor after Abu Bakr (according to al-Sira al- Halabiyya, vol.2).
Hafsah, however, told Aisha of the incident, and for a full month Muhammad had no dealings with any of his wives, living with Mary alone. Aisha berated Muhammad for his deceit, whereupon Muhammad was finally given the vision recorded in Sura 66:1:
“O prophet, why forbiddest thou what God has made lawful to thee, seeking the good pleasure of thy wives…?”
Based on this aya it seems that Allah is in the business of not only getting Muhammad out of his sexual chaos, but that Allah justifies unfaithfulness and deceit as well.
We clearly see that Allah was always very quick to defend Muhammad’s desires and this is exactly what Aisha said:
I used to backbite those (females) who offered themselves for the Messenger of Allah. So I asked: Does a woman offer herself? Then the Almighty Allah revealed: you (Muhammad) may put off whom you please of them, you may take to you whom you wish, and if you desire any whom you have separated, no blame attaches to you . It seems to me that your Lord hastens to satisfy your desire."
In other words, Allah is threatening these women that if they don’t submit to Muhammad’s desires, he will simply divorce them and get better ones. So Hafsa must not be angry that Muhammad slept with a slave girl, on her own bed , and on her turn day so Muhammad asks her to keep it secret and promises her father future postition and when she told Aisha Allah decided to threaten them.