Hafiz Muhammad Ameen
(1) "It would have been better for you to be killed"—that is, forgiveness is indeed better and more virtuous for the murdered person and his heir, but it is detrimental for the killer, because the murdered person and his heir, due to granting forgiveness, will enter Paradise, whereas the killer will have to give account and endure punishment. In contrast, if forgiveness had not been granted and the killer had been executed, then the killer’s sin would have been forgiven; however, there would have been no guarantee of forgiveness for the murdered person and his heir.
(2) From this hadith, it is understood that even after a sentence is passed by the court, the killer can request forgiveness from the heir of the murdered person, and if the heir wishes, he may forgive, because this is purely his right. And this applies only in the matter of murder. In cases such as theft, before the case reaches the court, forgiveness can be granted, but not afterwards, as clarified in another hadith. And Allah knows best.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 4735