Daytime or at night? The latter should present no difficulty. You can easily move the hive temporarily, or screen it. Not exactly a beekeeping question really. How close would you stand if the bonfire is a raging furnace; would you stand upwind, or choke in the smoke and/or fumes downwind? There could be a brick wall between whilst still being close. So lots of common sense cosiderations to be taken 'on the ground'.
To answer the question literally, I could stand next to it, or even on it! Would not be good for the bees though. This sounds more like a question from someone with a hive and a close neighbour building a bonfire close to a beehive. Seems like there may be animosity, but just guessing. If it is indeed the case, we have the classic example of poor siting of a beehive.
Not advisable Rab unless your name is GUY and you have asbestos undies
I would try and shelter the hive/s with some steel sheet or similar to absorb/deflect any radiant heat from the hives. ideal soluion would be a hedge of some kind but too late to plant now for the 5h Nov
My husband regularly has his bonfire about 20 feet away from my hive and they don't complain. He has a worrying obsession with fire and never bothers to worry about my girls or washing. I await the day they put their feet down and say NO!