It is narrated in al-Bayhaqi’s “Dala’il Nubuwwa” and al-Hakim in the Mustadrak, and others with chains of narration:
That Khalid ibn al-Walid lost his skullcap (qalansuwah قلنسوة) on the day of Yarmouk. He said, “find it!” Then they did not find it, then they searched/asked and found it. Khalid said: The messenger of Allah ﷺ performed Umrah and then shaved his head. I rushed with the people to get some of his hair. I got some of the hair from the front part of his head which I put in this qalansuwah. Every time I went into battle with this qalansuwah, Allah gave me victory.
الــتــــبــرك
======
خالد بن الوليد يتبرك بشعرات النبى صلى الله عليه وسلم
روى البيهقي في دلائل النبوة والحاكم في المستدرك وغيرهما بالاسناد
أن خالد بن الوليد فقد قلنسوة له في يوم اليرموك
فقال اطلبوها ,فلم يجدوها , ثم طلبوها فوجدوها ,
فقال خالد : اعتمر رسول الله صلى الله عليه وسلم فحلق رأسه فابتدر الناس الى جوانب شعره فسبقتهم الى ناصيته فجعلتها
في هذه القلنسوة فلم أشهد قتالا وهي معي الا رزقت النصر.