Yahya related to me from Malik from Abu'n Nadr, the mawla of Umar ibn Ubaydullah that A'isha, the wife of the Prophet ﷺ ordered that the body of Sad ibn Abi Waqqas be brought past her in the mosque so that she could make dua for him. Some people disapproved of her doing that, and she said, "How hasty people are! The Messenger of Allah ﷺ only prayed over Suhayl ibn Bayda in the mosque."
عَنْ عَائِشَةَ زَوْجِ النَّبِيِّ ﷺ أَنَّهَا أَمَرَتْ أَنْ يُمَرَّ عَلَيْهَا بِسَعْدِ بْنِ أَبِي وَقَّاصٍ فِي الْمَسْجِدِ حِينَ مَاتَ لِتَدْعُوَ لَهُ فَأَنْكَرَ ذَلِكَ النَّاسُ عَلَيْهَا فَقَالَتْ عَائِشَةُ مَا أَسْرَعَ النَّاسَ مَا صَلَّى رَسُولُ اللَّهِ ﷺ عَلَى سُهَيْلِ ابْنِ بَيْضَاءَ إِلاَّ فِي الْمَسْجِدِ