Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:15967Abū ʿAlī al-Ḥāfiẓ Imlāʾ

[Machine] The Messenger of Allah ﷺ said, "The prescribed punishments should not be carried out in the mosques, and a father should not be killed for the actions of his child." Abu Hafs Al-Tammar, also known as Abu Tammam, was 'Umar ibn 'Amir Al-Saadi, who used to live in the tribe of Bani Rifa'ah. Sa'id ibn Bashir also narrated this from Qatadah, from 'Amr ibn Dinar, in a connected chain.  

البيهقي:١٥٩٦٧أَخْبَرْنَاهُ أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو عَلِيٍّ الْحَافِظُ إِمْلَاءً ثنا إِبْرَاهِيمُ بْنُ إِسْحَاقَ الصَّيْرَفِيُّ ثنا الْحَسَنُ بْنُ عَلِيِّ بْنِ شَبِيبٍ الْمَعْمَرِيُّ ثنا عُقْبَةُ بْنُ مُكْرَمٍ ثنا أَبُو حَفْصٍ التَّمَّارُ ثنا عُبَيْدُ اللهِ بْنُ الْحَسَنِ الْعَنْبَرِيُّ عَنْ عَمْرِو بْنِ دِينَارٍ عَنْ طَاوُسٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

قَالَ رَسُولُ اللهِ ﷺ لَا تُقَامُ الْحُدُودُ فِي الْمَسَاجِدِ وَلَا يُقْتَلُ وَالِدٌ بِوَلَدِهِ أَبُو حَفْصٍ التَّمَّارُ هُوَ أَبُو تَمَامٍ عُمَرُ بْنُ عَامِرٍ السَّعْدِيُّ كَانَ يَنْزِلُ فِي بَنِي رِفَاعَةَ وَرَوَاهُ أَيْضًا سَعِيدُ بْنُ بَشِيرٍ عَنْ قَتَادَةَ عَنْ عَمْرِو بْنِ دِينَارٍ مَوْصُولًا