Allah will surely test you with some of the game within the reach of your hands and spears , so that Allah may know those who fear Him in secret . So whoever transgresses after that , there is a painful punishment for him .