The excerpt below is from the teachings of Hakeemul Ummah, Moulana Thaanwi (Rahimahullah).
“Thus, before embarking on anything one should scrutinize the means. If the means is permissible then the objective will be considered. If the objective is haraam then the whole exercise will be haraam. And if the means is haraam then this will preclude the attainment of the objective.
The haraam means will not make permissible the acquisition of the end product.
For instance, someone wishes to gather people for Salaat. Towards this end, he opens a club room of dancing, music and games adjacent to the Masjid. Youngsters are lured to the Masjid with the bait of enjoying themselves in the club activities. Although the objective is for the youth to attend the Masjid for Salaat, however, a haraam means has been employed towards the end. The means will be decried and never be tolerated regardless of the (intended) benefits. Just consider this. In spite of Salaat being dear to Allah Ta’ala, a haraam means is never permitted for (calling towards) it.”