Hazrat Ibn Umar (may Allah be pleased with them both) narrates that only the prayer which he offered first will be counted.