Hadith.5097 - A man asked Imam Ali ibn Al-Hussain عليه السلام about purchasing a bondwoman with a beautiful voice.
Imam عليه السلام said: "There is no harm upon you if you buy her and she reminds you of Paradise."
This means through the recitation of the Quran, asceticism, and virtuous speech that is not considered singing. As for singing (ghinaʾ), it is strictly prohibited.