They brought you a buyer. The buyer pays for everything in both cases. If you sell your house for $100K - 3% it's the same as selling your house FSBO for $97K.
He sold his as FSBO. It's highly unlikely the real estate agent brought the buyer since they hate FSBOs. It's much more likely the buyer found the house himself/herself.