Hadith.5217 - Dawud ibn Sirhan narrated from Abu Abdullah عليه السلام regarding two men who killed another man.
Imam عليه السلام said: "If the heirs of the murdered person wish to pay the blood money (diyyah) and execute both of them, they may kill them both."