It was narrated that Mujahid said:
"I was with Ibn Umar, and he heard the sound of a drum, so he put his fingers in his ears and turned away. He did that three times, then he said: "This is what I saw the Messenger of Allah do.' "
English reference: Vol. 3, Book 9, Hadith 1901
Arabic reference: Book 9, Hadith 1976