Musa bin Salama Hudhali said: I asked Ibn 'Abbas (RA) : How should I say prayer when I am in Makkah, and when I do not pray along with the Imam? He said: Two rak'ahs (of prayer) is the Sunnah of Abu'l-Qasim (ﷺ) .
Hadith Referenceصحيح مسلم / كتاب صلاة المسافرين وقصرها / 688