Buying and selling in the masjid is disliked
TIRMIDHI 1321:
from Abū Hurayrah —
That the Messenger of Allah ﷺ said: "When you see someone selling or buying in the Masjid then say: 'May Allah not profit your business.' And when you see someone announcing about something lost then say: 'May Allah not return it to you.'"
الترمذي ١٣٢١:
عن ابو هريره —
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِذَا رَأَيْتُمْ مَنْ يَبِيعُ أَوْ يَبْتَاعُ فِي الْمَسْجِدِ فَقُولُوا لاَ أَرْبَحَ اللَّهُ تِجَارَتَكَ وَإِذَا رَأَيْتُمْ مَنْ يَنْشُدُ فِيهِ ضَالَّةً فَقُولُوا لاَ رَدَّ اللَّهُ عَلَيْكَ