Hadith 942B4

قَالَ مَالِك : وَمَنْ جَهِلَ فَحَلَقَ رَأْسَهُ قَبْلَ أَنْ يَرْمِيَ الْجَمْرَةَ افْتَدَى
Imam Malik, may Allah have mercy on him, said: Whoever shaves his head before throwing the pebbles out of ignorance must offer a fidya (compensation).
Hadith Reference موطا امام مالك رواية يحييٰ / كتاب الحج / 942B4
Hadith Takhrij «فواد عبدالباقي نمبر: 20 - كِتَابُ الْحَجِّ-ح: 239»