It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that he said to Sayyiduna Abu Dharr (may Allah be pleased with him): "O uncle! Teach me something good." He replied: "Yes, O my nephew! The Messenger of Allah (peace and blessings be upon him) said to me: 'O Abu Dharr! Indeed, when you pray two rak'ahs of the forenoon prayer, you will not be counted among the heedless; if you pray four rak'ahs, your name will be written among the muhsinin (those who do good); if you pray six rak'ahs, no sin will follow you; and if you pray ten rak'ahs (a gap in the text); and if you pray twelve rak'ahs, a house will be built for you in Paradise in return for them.'"
Abu Ya'la al-Mawsili recorded this hadith, and it has already come in full length in the Book of Knowledge.
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف أبي رافع إسماعيل بن رافع، وفيه انقطاع
Hadith Takhrij«أبو يعلى: هارون بن معروف عن ابن وهب عن عمر بن محمد عن أبي رافع عن عبد الله بن عمرو (المطالب 654)؛ وعند البيهقي: إسماعيل بن رافع عن إسماعيل بن عبيد الله عن ابن عمر – فبينهما واسطة. إسماعيل بن رافع: ضعيف الحفظ (التقريب)»