Did the arabs at that time acknowledge this fact? Did they really understand that earth was rotating around the sun? If yes then why wasnt the idea documented in the scientific community of the arabs? If No then your claim is nullified.
This is another example of fake miracles. The context is the day of judgement. Allah is decribing the events preceding the day of judgement and NOTHING is refering to the rotation of the earth!