[Aa`raf 7:160] And We divided them into twelve tribes, as separate groups; and when his people asked him for water, We revealed to Moosa, "Strike the rock with your staff"; so twelve springs gushed forth from it; each group recognised its drinking-place; and We made the clouds a canopy over them and sent down the Manna and the Salwa (birds) on them; "Eat of the good things we have provided you"; and they did not wrong Us in the least, but they used to wrong themselves.
[Aa`raf 7:161] And remember when they were commanded, "Reside in this township and eat whatever you wish in it, and say ‘Sins are forgiven’ and enter the gate prostrating - We will forgive you your sins; We shall soon bestow more upon the virtuous."
[Aa`raf 7:162] So the unjust among them changed the words, contrary to what they had been commanded - consequently We sent down upon them a punishment from the sky - the recompense of their injustice.
7:163] And ask them (O dear Prophet
Mohammed - peace and blessings be upon him) of the township that was by
the sea; when they used to exceed in the matter of the Sabbath - when their
fish used to come swimming atop the water in front of them on the day of
Sabbath and not come on the days it was not Sabbath; this is how We used to
test them, due to their disobedience.