Bulugh al-Maram #257 · The Book of Prayer

Bulugh al-Maram[Abu Hurairah
Bulugh al-Maram · Book 2 · The Book of Prayer
Bulugh al-Maram · كتاب 2 · كتاب الصلاة
Allah's Messenger (صلى الله عليه وسلم) said: "If you see someone buying or selling inside the mosque, say: 'May Allah not make your trading profitable!'" [Reported by an-Nasa'i and at-Tirmidhi and the latter graded it Hasan (good)].
وَعَنْهُ
أَنَّ رَسُولَ اَللَّهِ - صلى الله عليه وسلم -{ إِذَا رَأَيْتُمْ مَنْ يَبِيعُ , أَوْ يَبْتَاعُ فِي اَلْمَسْجِدِ , فَقُولُوا : لَا أَرْبَحَ اَللَّهُ تِجَارَتَكَ } رَوَاهُ النَّسَائِيُّ , وَاَلتِّرْمِذِيُّ وَحَسَّنَهُ.
Reference : Bulugh al-Maram 257In-book reference : Book 2, Hadith 126