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:17547Abū Muḥammad ʿAbdullāh b. Yūsuf > Abū Saʿīd b. al-Aʿrābī > Saʿdān b. Naṣr > Sufyān > ʿAmr > Muḥammad b. ʿAlī > ʿAlī

[Machine] That Ali had whipped a man forty lashes with a whip that had two ends, as if he intended to double the lashes with each end. And it was mentioned in another place, as we have narrated in the Hadith of Sa'dan, that it was narrated to us in the continuous Hadith, that he ordered forty lashes and argued with someone before him. And this narration is disconnected, and Allah knows best.  

البيهقي:١٧٥٤٧أَخْبَرَنَا أَبُو مُحَمَّدٍ عَبْدُ اللهِ بْنُ يُوسُفَ أنبأ أَبُو سَعِيدِ بْنُ الْأَعْرَابِيِّ ثنا سَعْدَانُ بْنُ نَصْرٍ ثنا سُفْيَانُ عَنْ عَمْرٍو عَنْ مُحَمَّدِ بْنِ عَلِيٍّ

أَنَّ عَلِيًّا ؓ جَلَدَ رَجُلًا فِي الْخَمْرِ أَرْبَعِينَ جَلْدَةً بِسَوْطٍ لَهُ طَرَفَانِ وَكَأَنَّهُ أَرَادَ صَارَ أَرْبَعِينَ بِالطَّرَفَيْنِ وَذَكَرَهُ فِي مَوْضِعٍ آخَرَ كَمَا رُوِّينَا فِي حَدِيثِ سَعْدَانَ فَقَدْ رُوِّينَا فِي الْحَدِيثِ الْمَوْصُولِ عَنْهُ أَنَّهُ أَمَرَ بِجَلْدِهِ أَرْبَعِينَ وَاحْتَجَّ فِيهِ بِمَنْ قَبْلَهُ وَهَذِهِ الرِّوَايَةُ مُنْقَطِعَةٌ وَاللهُ أَعْلَمُ