Kaab bin Ujra reported,

I came to him, meaning the Prophet ﷺ, and he said, "Come closer."So I drew near, and he asked, "Are the lice troubling you?"I replied, "Yes."He said, "Then a ransom of fasting, charity, or sacrifice."Ibn Awn informed me from Ayub, who said, "The fasting is three days, the sacrifice is a sheep, and the poor to be fed are six."

Bukhari 6708

Sahih

حدثنا أحمد بن يونس حدثنا أبو شهاب عن ابن عون عن مجاهد عن عبد الرحمن بن أبي ليلى

عن كعب بن عجرة قال

أتيته يعني النبي ﷺ فقال ادن فدنوت فقال أيؤذيك هوامك قلت نعم قال فدية من صيام أو صدقة أو نسك وأخبرني ابن عون عن أيوب قال صيام ثلاثة أيام والنسك شاة والمساكين ستة

البخاري 6708صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expiations for oaths
Chapter
Expiations for oaths
Numbering
Darussalam 6708
Bukhari 6708