Sahih Muslim Book 4, Hadith Number 1563.
Chapter : Excellence of the forenoon prayer, two are its minimum Rak’ahs and eight are its maximum Rak’ahs and average Rak’ahs are four or six, and exhortation for the observance of the prayer.
This Hadith has been transmitted by Nafi’ with the same chain of narrators.