ANSWER:

If they sell and buy in the masjid then this is sinful, but if they just talked about the property without mentioning selling or buying it, then this seems permissible.

shaykh, if a person in masjid, after the completion of the prayer, sat in one corner and recited quran, a guy whom he is selling his home, came greeted & talked to him whilst he was holding the closed mushaf in hand. suddenly the buyer started to speak to him about flat price after greeting, After speaking to the buyer , he realized what he does is wrong, he came to know about a hadith forbidding buying & selling in masjid.. has he done a major sin?

Rulings on mosques |