Two people are riding bicycles next to a building.
Two people are riding bikes near a building.
Riding next to a building means they are near the building
People will be seen riding bikes.
To be next to a building is to be near it.