Edited sentence: " ===Sunni View===." But Khalid denied this and said: "No." Though Malik protested that he was a Muslim, Khalid did not listen, and the former was executed.Abu Qatada Ansari was a companion of Muhammad.According to Islamic law, Khalid had to be stoned to death.But Abu Bakr defended Khalid, and said that he had simply made "an error of judgment.He came with Khalid from Medina.He said that Khalid had to be put on trial for the twin crimes of murder and adultery.He was so shocked at Malik's murder by Khalid that he immediately returned to Medina, and told Abu Bakr that he would not serve under a commander who had killed a Muslim.In Medina, Umar was so scandalized that he demanded, from Abu Bakr, the immediate dismissal of Khalid.In reply to sunni claims that Khalid married his wife on the same night, the shias protested that Islamically, to have been able to marry her, she would have had to go through the waiting period for marriage (iddah), which is 4 months to 1 year.Khalid bin Walid killed Malik ibn Nuwayra and raped his wife, Layla bint al-Minhal.Khalid declared Malik a rebel apostate and ordered his execution.Khalid had a brief meeting with Malik, and the latter knew that he was going to be killed.Malik turned to his wife, and said: "You are the one to bring death upon me.Malik's response was "your master said this your master said that" referring to Abu Bakr.Some historians say that Khalid was in love with Malik's wife, and he ordered his execution.When arrested, Malik was asked by Khalid about his crimes.You have become an apostate, and your apostasy is responsible for your death