Bring it (the bier) into the mosque so that I offer prayer for him. But, this act of hers was disapproved. She said: By Allah, the Messenger of Allah ﷺ offered prayer in the mosque for the two sons of Baida', viz, for Suhail and his brother. (Using translation from Muslim 973c)
ادْخُلُوا بِهِ الْمَسْجِدَ حَتَّى أُصَلِّيَ عَلَيْهِ فَأُنْكِرَ ذَلِكَ عَلَيْهَا فَقَالَتْ وَاللهِ لَقَدْ صَلَّى رَسُولُ اللهِ ﷺ عَلَى ابْنَيْ بَيْضَاءَ فِي الْمَسْجِدِ سُهَيْلٍ وَأَخِيهِ