Read RULE IV of A Manual / An Easy Method of Managing Bees, free online book, by John M. Weeks, on ReadCentral.com.

On preventing robberies

At the moment it is observed, that robbers are within, or about the hive, raise the bottom board so near the edge of the hive as to prevent the ingress or egress of the bees, and stop the mouth or common entrance and ventilator. At the same time take care that a small space on all sides of the hive be left open, so as to afford them all the air they need. Open the mouth only at evening, and close early in the morning, before the robbers renew their attack.

Remarks.

Bees have a peculiar propensity to rob each other, and every precaution necessary to prevent it, should be exercised by the cultivator. Families in the same apiary are more likely to engage in this unlawful enterprize than any others, probably because they are located so near each other, and are more likely to learn their comparative strength. I never could discover any intimacy between colonies of the same apiary, except when they stood on the same bench; and then, all the social intercourse seems to subsist between the nearest neighbors only.

Bees are not likely to engage in warfare and rob each other, except in the spring and fall, and at other times in the season, when food is not easily obtained from blossoms.

Bees do not often engage in robbery in the spring, unless it is in such hives as have had their combs broken by frost or otherwise, so as to cause the honey to drip down upon the bottom board. Much care should be exercised by the apiarian to see that all such hives are properly ventilated, and at the same time closed in such a manner as to prevent the entrance of robbers in the day-time, until they have mended the breach, so as to stop the honey from running.

Clear water should be given them every day, so long as they are kept in confinement.

I have known many good stocks to be lost in the spring, by being robbed; and all for want of care. Bees rob each other when they can find but little else to do; they will rob at any time when frost has destroyed the flowers, or the weather is so cold as to prevent their collecting honey from them. Cold, chilly weather prevents the flowers from yielding honey without frost, as was the case in the summer of 1835, in many places.

Bees need but little air at any time when they rob, and yet more is necessary for them when confined by compulsory means, than otherwise. When deprived of their liberty, they soon become restless, and use their best efforts to make their way out of the hive hence the importance of leaving a small space all around the bottom, to admit air and to prevent their melting down.