Hadithcore
Mishkat al-Masabih, 1060

Zainab the wife of ‘Abdallah b. Mas'ud told of God’s Messenger saying to them, “When one of you comes to the mosque she must not touch perfume.” Muslim transmitted it.

وَعَنْ زَيْنَبَ امْرَأَةِ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَتْ: قَالَ لَنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا شَهِدَتْ إِحْدَاكُنَّ الْمَسْجِدَ فَلَا تمس طيبا» . رَوَاهُ مُسلم

References1 variant
In-Book Reference
Book 4, Hadith 478