An-Nahl • EN-KASHANI-TAFSIR
﴿ إِنَّمَا جُعِلَ ٱلسَّبْتُ عَلَى ٱلَّذِينَ ٱخْتَلَفُوا۟ فِيهِ ۚ وَإِنَّ رَبَّكَ لَيَحْكُمُ بَيْنَهُمْ يَوْمَ ٱلْقِيَٰمَةِ فِيمَا كَانُوا۟ فِيهِ يَخْتَلِفُونَ ﴾
“[and know that the observance of] the Sabbath was ordained only for those who came to hold divergent views about him; but, verily, God will judge between them on Resurrection Day with regard to all on which they were wont to differ.”
The Sabbath was only prescribed for those who differed concerning it, in other words, what was prescribed for you was prescribed for them and so you are not obliged to follow Moses in that respect, but to follow Abraham.