I was playing with some friends and they started throwing rocks at a black dog. When I told them to stop, they said that Islam encourages us to kill them. Is that true? My mom told me to ask you.
No, we are not! A great scholar named al-Hattab wrote,
“The majority of scholars from the Maliki school hold that it is not allowed to kill black dogs unless they cause harm. The hadith that ordered that to be done was abrogated by the words of the Prophet ﷺ: ‘Do not harm any living creature1‘; by the fact that the Prophet ﷺ mentioned the story of a man who provided a dog water to drink, saying about him, ‘He was forgiven by God [for observing this act of kindness]'; and his statement, ‘There is a reward for benevolence shown towards any creature.2‘”
Hope that helps, little brother.