´It was narrated that Sa'eed bin Jubair said:` "Abdur-Rahman bin Abi Laila told me to ask Ibn 'Abbas about two Verses: 'And whoever kills a believer intentionally, his recompense is Hell.' I asked him and he said: 'Nothing of this has been abrogated.' (And I asked him about the Verse): 'And those who invoke not any other ilah (god) along with Allah, or kill such person as Allah has forbidden, except by right,' he said: 'This was revealed concerning the people of Shirk.'"
Hadith Referenceسنن نسائي / كتاب تحريم الدم / 4007
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:متفق عليه
It is as if neither of the two is abrogated; the first verse pertains to the Muslims, and this second verse pertains to the disbelievers. This specification is also sometimes referred to as abrogation (naskh), which is why in the previous hadith, this second verse was also described as abrogated. In the end, there is no difference in the outcome.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 4007