Sayyiduna Ibn Buhaina (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) stood up after performing two rak‘ahs instead of sitting. The people also stood up with him. When he sat after performing four rak‘ahs and the people were waiting for him to say salam, he said takbeer, then went into prostration, then said takbeer, then went into prostration again. This happened before he said salam.