السلام عليكم ورحمة الله وبركاته حيّاكم الله We were visiting with many brothers. There was someone interested in Islam but not yet a Muslim. Is it allowed for him to join the prayer just to get a feeling for it, even though it would be invalid? Some brothers said it is not allowed and told him so.

Ustadh AbdulAziz al-Haqqan
There are different sayings and it is allowed in sha'a Allah if there is a real benefit hoped from it.