I was a man who used to give (riding-beasts) on hire for this purpose (for travelling during the pilgrimage) and the people would tell (me): Your hajj is not valid. So I met Ibn Umar and told him: AbuAbdurRahman, I am a man who gives (riding-beast) on hire for this purpose (i.e. for hajj), and the people tell me: Your hajj is not valid. Ibn Umar replied: Do you not put on ihram (the pilgrim dress), call the talbiyah (labbayk), circumambulate the Ka'bah, return from Arafat and lapidate jamrahs? I said: Why not? Then he said: Your hajj is valid. a man came to the Prophet ﷺ and asked him the same question you have asked me. The Messenger of Allah ﷺ kept silence and did not answer him till this verse came down: "It is no sin for you that you seek the bounty of your Lord." The Messenger of Allah ﷺ sent for him and recited this verse to him and said: Your hajj is valid. (Using translation from Abū Dāʾūd 1733)
أَلَسْتَ تُحْرِمُ وَتُلَبِّي وَتَطُوفُ بِالْبَيْتِ وَتُفِيضُ مِنْ عَرَفَاتٍ وَتَرْمِي الْجِمَارَ قَالَ قُلْتُ بَلَى قَالَ فَإِنَّ لَكَ حَجًّا جَاءَ رَجُلٌ إِلَى رَسُولِ اللهِ ﷺ فَسَأَلَهُ عَنْ مِثْلِ مَا سَأَلْتَنِي عَنْهُ فَسَكَتَ عَنْهُ رَسُولُ اللهِ ﷺ فَلَمْ يُجِبْهُ حَتَّى نَزَلَتْ هَذِهِ الْآيَةُ {لَيْسَ عَلَيْكُمْ جُنَاحٌ أَنْ تَبْتَغُوا فَضْلًا مِنْ رَبِّكُمْ} [البقرة 198] فَأَرْسَلَ إِلَيْهِ رَسُولُ اللهِ ﷺ وَقَرَأَ هَذِهِ الْآيَةَ عَلَيْهِ وَقَالَ لَكَ حَجٌّ