[Machine] The Messenger of Allah ﷺ used to sacrifice two horned rams. He would begin with one of them and say, "In the name of Allah, Allah is the Greatest. O Allah, (this sacrifice is) from You and for You on behalf of Muhammad and his Ummah, whoever testifies to Your Oneness and testifies to my Prophethood." And then he would slaughter the other ram and say the same words, except replacing "from You and for You" with "from Muhammad and the family of Muhammad." This is the wording of the hadith of Ibn Bashran and in the narration of Ibn Abdan it is mentioned that the Prophet ﷺ used to buy two fat, horned rams, salted (preserved), and sacrificed one of them on behalf of his Ummah, whoever testifies to his Prophethood and testifies to his message, and the other on behalf of Muhammad and the family of Muhammad."
كَانَ رَسُولُ اللهِ ﷺ يُضَحِّي بِكَبْشَيْنِ أَقْرَنَيْنِ مُوجَأَيْنِ فَيَبْدَأُ بِأَحَدِهِمَا فَيَقُولُ بِسْمِ اللهِ وَاللهُ أَكْبَرُ اللهُمَّ مِنْكَ وَلَكَ عَنْ مُحَمَّدٍ وَأُمَّتِهِ مَنْ شَهِدَ لَكَ بِالتَّوْحِيدِ وَشَهِدَ لِي بِالْبَلَاغِ وَيَذْبَحُ الْآخَرَ وَيَقُولُ بِسْمِ اللهِ وَاللهُ أَكْبَرُ اللهُمَّ مِنْكَ وَلَكَ عَنْ مُحَمَّدٍ وَآلِ مُحَمَّدٍ لَفْظُ حَدِيثِ ابْنِ بِشْرَانَ وَفِي رِوَايَةِ ابْنِ عَبْدَانَ كَانَ النَّبِيُّ ﷺ إِذَا ضَحَّى اشْتَرَى كَبْشَيْنِ سَمِينَيْنِ أَقْرَنَيْنِ أَمْلَحَيْنِ مُوجَأَيْنِ فَذَبَحَ أَحَدَهُمَا عَنْ أُمَّتِهِ مَنْ شَهِدَ لَهُ بِالتَّوْحِيدِ وَشَهِدَ لَهُ بِالْبَلَاغِ وَالْآخَرَ عَنْ مُحَمَّدٍ وَآلِ مُحَمَّدٍ هَكَذَا