Sunan an-Nasa'i, Book 37, Hadith 114 (Nasa'i 4089)

It was narrated that Abu Hurairah said:

"The Messenger of Allah said: 'Whoever ties a know and blows on it, he has practiced magic; and whoever practices magic, he has committed Shirk; and whoever hangs up something (as an amulet) will be entrusted to it.'"