The Messenger of Allah ﷺ performed the funeral prayer over Suhayl bin Bayda only in the mosque.
أخبرنا إسحق بن إبراهيم وعلي بن حجر قالا حدثنا عبد العزيز بن محمد عن عبد الواحد بن حمزة عن عباد بن عبد الله بن الزبير
ما صلى رسول الله ﷺ على سهيل ابن بيضاء إلا في المسجد
No references are available.
Muslim narrated it in the book of funerals, chapter on the funeral prayer in the masjid, hadith 973, from Ishaq bin Ibrahim and Ali bin Hajar, with this wording. It is also in Kubra, hadith 2094.