Musa bin Salamah says that once I asked Sayyiduna Ibn Abbas (may Allah be pleased with them both) that when I am in Makkah Mukarramah and cannot pray with the Imam, how many rak'ahs should I pray? He replied: Two rak'ahs, because this is the Sunnah of Abul Qasim (peace be upon him).