Language:
كتاب الجنائز
23  
Funerals (Al-Janaa'iz)
(60)
Chapter: To offer the funeral Salat (prayer) at the Musalla and at the Mosque
(60)
باب الصَّلاَةِ عَلَى الْجَنَائِزِ بِالْمُصَلَّى وَالْمَسْجِدِ
Sahih al-Bukhari 1329

Narrated `Abdullah bin `Umar:

The Jew brought to the Prophet (ﷺ) a man and a woman from amongst them who have committed (adultery) illegal sexual intercourse. He ordered both of them to be stoned (to death), near the place of offering the funeral prayers beside the mosque."

حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ، حَدَّثَنَا أَبُو ضَمْرَةَ، حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ الْيَهُودَ، جَاءُوا إِلَى النَّبِيِّ صلى الله عليه وسلم بِرَجُلٍ مِنْهُمْ وَامْرَأَةٍ زَنَيَا، فَأَمَرَ بِهِمَا فَرُجِمَا قَرِيبًا مِنْ مَوْضِعِ الْجَنَائِزِ عِنْدَ الْمَسْجِدِ‏.‏
Reference : Sahih al-Bukhari 1329
In-book reference : Book 23, Hadith 84
USC-MSA web (English) reference : Vol. 2, Book 23, Hadith 413
  (deprecated numbering scheme)