وَإِنْ كَانَ مَعَ رَفِيقِهِ مَاءٌ: طَلَبَهُ مِنْهُ قَبْلَ أَنْ يَتَيَمَّمَ.
Meaning: If the travelling companion has water, the person asks him for it before performing tayammum.
Someone else's possession is not automatically available for one's own purification. Asking is a separate legal step and is relevant when there is a realistic prospect of obtaining it.