Praise be to Allaah.
The hadeeth is general in meaning and includes both boys and girls. Separating means giving each boy and each girl a separate bed, even if they are in the same room, because one being with another in the same bed may be a means that leads to immorality. May Allaah help us all to do all that is good. End quote.