A ball may not legally enter the basket from underneath the rim.
Penalty:
Loss of possession and the ball awarded to the opposing team.