It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) stayed in Makkah for seventeen days during the year of the conquest of Makkah and continued to shorten the prayers.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2883
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد ضعيف، شريك بن عبدالله القاضى سيئ الحفظ