Zakat on sheep and goats:
وَيَجِبُ فِي أَرْبَعِيْنَ مِنَ الْغَنَمِ شَاةً إِلى مِائَةٍ وَإِحْدَى وَعِشْرِينَ وَفِيْهَا شَاتَانِ إِلَى مِانَتَيْنِ وَوَاحِدَةٍ وَفِيهَا ثلاث شِيَاءٍ إِلَى ثَلَاثِمَانَةٍ وَوَاحِدَةٍ وَفِيهَا أَرْبَعٌ ثُمَّ فِى كُلِّ مِائَةٍ شَاةٌ
From forty (40) to one hundred and twenty-one (121) sheep and goats, one sheep or goat is obligatory; up to two hundred and one (201), two sheep or goats; and then for every hundred (100), one sheep or goat is obligatory.
In a narration from Anas (may Allah be pleased with him) it says: “The zakat on sheep and goats that graze outside: from forty up to one hundred and twenty (120), only one sheep or goat is to be collected. When the number exceeds one hundred and twenty and reaches two hundred (200), two sheep or goats are to be collected as zakat. Then when it exceeds two hundred and reaches three hundred (300), three sheep or goats are to be collected. When the number exceeds three hundred, one sheep or goat is to be collected as zakat for every hundred. If someone’s sheep and goats that graze outside in the wild are even one fewer than forty in number, there is no zakat on the owner, unless the owner wishes to give (willingly).”
[Sahih al-Bukhari: 1454, Kitab al-Zakat: Bab Zakat al-Ghanam, Abu Dawud: 1567, Ibn Majah: 1800, Ibn Khuzaymah: 2261]
There is consensus (ijma’) on the obligation of zakat on sheep and goats and on the determination of the above-mentioned nisab (threshold).
[Al-Ijma’ by Ibn al-Mundhir: p. 46-47, Al-Majmu’ by al-Nawawi: 5/417, Al-Mughni wa al-Sharh: 2/472, Bidayat al-Mujtahid: 1/224, Fiqh al-Zakat by al-Qaradawi: 1/204]