Torah Temimah cites Arachin 18a.
Afterward his daughter died… This is the rule: anyone whose beginning and end are in fitness is fit. It is different there, for Scripture says “or saw… if he does not tell” — the Merciful One made the matter depend on the seeing and the telling.
Fitness is required at the two critical moments — the seeing and the telling — not necessarily throughout the intervening period.