[Machine] That Ka'b ibn Ujrah, the brother of Bani Salim, suffered a head injury while he was in Hudaybiyah with the Messenger of Allah ﷺ and was isolated. The Messenger of Allah ﷺ commanded him to fast for three days, or feed six poor people, or slaughter a sheep. And this verse was revealed in this regard.
أَنَّ كَعْبَ بْنَ عُجْرَةَ أَخَا بَنِي سَالِمٍ أَصَابَهُ أَذًى مِنْ رَأْسَهِ وَهُوَ بِالْحُدَيْبِيَةِ مَعَ رَسُولِ اللهِ ﷺ مَحْصُورٌ «فَأَمَرَهُ رَسُولُ اللهِ ﷺ أَنْ يَصُومَ ثَلَاثَةَ أَيَّامٍ أَوْ يُطْعِمَ سِتَّةَ مَسَاكِينٍ أَوْ يَذْبَحَ شَاةً وَفِيهِ نَزَلَتْ هَذِهِ الْآيَةُ»