But the Quran says that no one must revenge or avenge more than he/she had been wronged.
If the prophet was going to pay the woman in her own coin, he would have just constructed a poem just a hard in emotional slamming.