One night Muhammad b. Ismaa’eel [al-Bukhari] was praying, when a wasp stung him seventeen times. When he completed his prayer, he (didn’t complain but instead) simply said, ‘Look and see what has harmed me during my prayer.’
—Bakr b. Munair
According to another account of the same incident, Imam Bukhaaree, having just led other in Dhuhr prayer, got up and performed voluntary units of prayer. Upon the completion of those units, he lifted up one of the sides of his shirt and said to someone who was with him, “Look here. Do you see anything below my shirt?”
The man was amazed to see that a wasp had bitten Imam Buhkhaaree (rah) in sixteen or seventeen places; and as a result, his body had become swollen.
(Read on pg 104, Salaahud-Deen ibn ‘Alee ibn ‘Abdul-Maujood, The Biography of Imam Bukhaaree. Darussalam. Riyadh: 2005.)