‘Umar ibn al-Khattāb (may Allah be pleased with him) said: "If a man acknowledges his paternity of a child (even) for a moment, he has no right to deny it (later)." Good chain of narrators - Al-Bayhaqi