It is not permissible to perform such matters in Masjids or its attached courtyard, for Masjids are built to worship Allah, teach and learn religious knowledge, and other issues akin to Din (religion). However, dedicating Masjids to the said matters does not pertain to the essence of Din. The poster of the deed can be hung outside the door of the Masjid in a place dedicated for such matters and known to people. Subsequently, evil is warded off and the benefit aspired is obtained. (Part No. 6; Page No. 301) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.