BAYHAQI 16002:
from Ibn ʿAbbās —
[Machine] The Messenger of Allah ﷺ said, "Whoever is killed in Al-Ummiya or Al-Rammiya, whether by being hit with a stone or a stick, his intellect is considered to be that of someone who made a mistake. And whoever is killed intentionally, then the responsibility lies upon the perpetrator, and upon him is the curse of Allah, the angels, and all people. No settlement or compensation will be accepted from him, and his words and actions indicate that he intends a mistake. Allah knows best the similarity of mistake, which is similar to intentional killing. And his statement, 'then it is a mistake that he intends, a mistake that is similar to another mistake,' until he is not liable for intentional killing. It is possible that what is meant by it is pure mistake, which is when he throws something and it hits someone else, and his intellect becomes that of a mistake. Allah knows best."
البيهقي ١٦٠٠٢:
عن ابن عباس —
قَالَ رَسُولُ اللهِ ﷺ مَنْ قُتِلَ فِي عِمِّيَّا أَوْ رِمِّيَّا تَكُونُ بَيْنَهُمْ بِحَجَرٍ أَوْ بِعَصًا فَعَقْلُهُ عَقْلُ خَطَأٍ وَمَنْ قُتِلَ عَمْدًا فَقَوَدُ يَدَيْهِ فَمَنْ حَالَ بَيْنَهُ وَبَيْنَهُ فَعَلَيْهِ لَعْنَةُ اللهِ وَالْمَلَائِكَةِ وَالنَّاسِ أَجْمَعِينَ لَا يُقْبَلُ مِنْهُ صَرْفٌ وَلَا عَدْلٌ قَوْلُهُ فَعَقْلُهُ عَقْلُ خَطَأٍ يُرِيدُ بِهِ وَاللهُ أَعْلَمُ شِبْهَ الْخَطَأِ وَهُوَ شِبْهُ الْعَمْدِ وَقَوْلُهُ فَهُوَ خَطَأٌ يُرِيدُ بِهِ شِبْهَ خَطَأٍ حَتَّى لَا يَجِبَ بِهِ الْقَوَدُ وَقَدْ يُحْتَمَلُ أَنْ يَكُونَ الْمُرَادُ بِهِ الْخَطَأَ الْمَحْضَ وَذَلِكَ أَنْ يَرْمِيَ شَيْئًا فَيُصِيبَ غَيْرَهُ فَيَكُونَ عَقْلُهُ عَقْلَ الْخَطَأِ وَاللهُ أَعْلَمُ
hadithunlocked.com