He had suffered an ailment in his head, so he shaved it, and the Prophet ﷺ commanded him to offer a sacrifice of a cow.
حدثنا قتيبة بن سعيد حدثنا الليث عن نافع أن رجلا من الأنصار أخبره
وكان قد أصابه في رأسه أذى فحلق فأمره النبي ﷺ أن يهدي هديا بقرة
No references are available.
[Its chain is daif] See no. 1856. His statement "a cow as a sacrificial offering" is not preserved (ghayr mahfuz), and Allah knows best. A man from the Ansar, unknown.