As salamu aleikoum,
Although the Qur'an has absolutly no issue with a round earth rotating around the sun, I found several weird hadiths from Sunni sources (the narrator is Abu Dharr) which seem to claim that it is the sun which is rotating, rotating around a flat earth:
It is also found in Sahîh Muslim (159,205). Its text, as related by Abû Dharr al-Ghifârî, is as follows:
The hadîth is also found in Sahîh al-Bukhârî in a highly abridged form (4803, 7433). Its text reads:
I checked the references and they are correct, although I did not find such an hadith in Sahih Muslim 205.
According to some people, there is an hadith which says the earth is round:
I did not find the reference though. Is this a fabricated hadith or does it really exist? You can find everywhere. But according to a website, it is fabricated (https://islamqa.info/en/145202).
According to a shia hadith, the earth is round:
There is no reference for the "logical East and West" hadith though. Does someone know the reference? Also, can someone check in Wasailush Shia, Vol.I to see if it's there (maybe here: https://books.rafed.net/view.php?type=c_fbook&b_id=280)? If possible, it would be better to find another book of hadith, since Wasailush Shia is a quite late compilation (17th century, after the heliocentrism theory was already famous I think)?
What do you think about those hadiths? Are they authentic? If they are authentic, how should they be interpreted (I did not read the arabic)? Are they any other hadith talking about the shape of the earth and/or helio-/geocentrism?
Jazak Allah khair.