فَإِنْ لَمْ يَدْخُلِ الْمُحْرِمُ مَكَّةَ وَتَوَجَّهَ إِلَى عَرَفَاتٍ وَوَقَفَ بِهَا عَلَى مَا قَدَّمْنَاهُ فَقَدْ سَقَطَ عَنْهُ طَوَافُ الْقُدُومِ وَلَا شَيْءَ عَلَيْهِ لِتَرْكِهِ
Translation: If the pilgrim in ihram does not enter Makkah but proceeds to Arafat and performs the standing there as already described, the arrival tawaf falls away, and nothing is due for omitting it.
The stated case is direct travel to Arafat without first entering Makkah, followed by a legally valid standing.