Sayyiduna Abdullah bin Sarjis (may Allah be pleased with him) reports: The Noble Prophet (peace and blessings be upon him) saw a man performing the two rak‘ahs of Sunnah of Fajr during the congregational prayer, so the Prophet (peace and blessings be upon him) said: "Which of these have you made your prayer?"
Related hadith on this topic