Shaykh al-Islām Ibn Taymiyyah (may Allah have mercy on him) said in Majmūʿ al-Fatāwā, vol. 11, p. 570:
“What al-Shāfiʿī declared—that it is an innovation concocted by the heretics—is the verdict of an Imām well-versed in the fundamentals of Islam. From the outset, no one ever took an interest in this form of samāʿ (musical audition) or invited others to it except people suspected of heresy, such as Ibn al-Rāwandī, al-Fārābī, Ibn Sīnā, and the like. Abū ʿAbd al-Raḥmān al-Sulamī, in his discussion of samāʿ, relates from Ibn al-Rāwandī1 that he said: ‘The jurists have differed about samāʿ; some have allowed it, others have disliked it. As for me, I deem it obligatory—or rather, I command it,’ thereby opposing the consensus of the scholars, who never prescribed it.
“As for al-Fārābī,2 he was highly skilled in the singing they call ‘music.’ He had a distinctive method admired by professional musicians, and his episode with Ibn Ḥamdān is well known: he played, causing them to weep; then he played again and made them laugh; then he played a third time and lulled them to sleep, after which he left.”
And he also said on p. 565: