Ikrimah reports from Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) stayed seventeen days in Makkah and kept praying two rak'ahs each.