It was narrated from 'Amr bin Shu'aib, from his father, from his grandfather, that the Messenger of Allah (ﷺ) said:
“A Muslim should not be killed in retaliation for the murder of a disbeliever.”
Reference: 2659English reference: Vol. 3, Book 21, Hadith 2659Arabic reference: Book 21, Hadith 2761In-book reference: Book 21, Hadith 45Grade: Sahih (Darussalam)Read this hadith from Darussalam Collection
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا حَاتِمُ بْنُ إِسْمَاعِيلَ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ عَيَّاشٍ، عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم . " لاَ يُقْتَلُ مُسْلِمٌ بِكَافِرٍ "