The Messenger of Allah ﷺ said: Muslims are equal in respect of blood. The lowest of them is entitled to give protection on behalf of them, and the one residing far away may give protection on behalf of them. They are like one hand over against all those who are outside the community. Those who have quick mounts should return to those who have slow mounts, and those who got out along with a detachment (should return) to those who are stationed. A believer shall not be killed for an unbeliever, nor a confederate within the term of confederation with him. Ibn Ishaq did not mention retaliation and equality in respect of blood. (Using translation from Abū Dāʾūd 2751)
قَالَ رَسُولُ اللهِ ﷺ الْمُسْلِمُونَ تَكَافَأُ دِمَاؤُهُمْ يَسْعَى بِذِمَّتِهِمْ أَدْنَاهُمْ وَيُجِيرُ عَلَيْهِمْ أَقْصَاهُمْ وَهُمْ يَدٌ عَلَى مَنْ سُوَاهُمْ يَرُدُّ مُشِدُّهُمْ عَلَى مُضْعِفِهِمْ وَمُتَسَرِّعُهُمْ عَلَى قَاعِدِهِمْ لَا يُقْتَلُ مُؤْمِنٌ بِكَافِرٍ وَلَا ذُو عَهْدٍ فِي عَهْدِهِ وَأَمَّا حَدِيثُ عِمْرَانَ