by Imam Malik, translation by A'isha `Abdarahman at-Tarjumana and Ya`qub Johnson , Volume: Burials
Chapter: Doing the Prayer for the Dead in Mosques
Yahya related to me from Malik from Abu'n Nadr, the mawla of Umar ibn Ubaydullah that A'isha, the wife of the Prophet, may Allah bless him and grant him peace, 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, may Allah bless him and grant him peace, only prayed over Suhayl ibn Bayda in the mosque."
Yahya related to me from Malik from Nafi that Abdullah ibn Umar said, "The prayer over Umar ibn al-Khattab was done in the mosque."