I completely rewrote my initial answer to give a more in depth assessment of the claim. The previous one can be found here
I will try to address the specific claim but also two probably more relevant related claims. I assume this all relates to the 2018 cruise missile attack on Syria by US, UK and French forces.
- Did Syrian air defence intercept precisely 23 Tomahawk cruise missiles using precisely 25 S-400 missiles near Damascus?
- Did Syrian air defence intercept any cruise missiles during the strike?
- Did Syrian air defence repel the cruise missile attack?
Cruise Missiles launched by US/UK/French
The BBC has a detailed breakdown of missiles launched.
- 76 missiles total (57 Tomahawk and 19 JASSM) at the Barzeh research and development centre in/near Damascus
- 24 missiles total (9 Tomahawk, 8 Storm (UK), 5 ``naval cruise missiles'' and 2 SCALP (French)) at the Him Shinshar chemical weapons storage sites (west of Homs)
- 7 SCALP (French) at Him Shinshar chemical weapons bunker (west of Homs)
This would give a total of 107 launched missiles which is in line with the 103 missiles launched claimed by Russian sources and 110 missiles launched claimed by Syrian sources according to both BBC and Aljazeera.
Note: SCALP and Storm seem to be the same type of missile (it is a joint UK-French development), the names reflect whether they were fired by UK or French forces. The not further specified "navel cruise missiles" also seem to be of the same type, just fired by French Naval forces.
Surface-to-air missiles launched by Syrian Air Defence
According to the BBC, the US claim that "surface-to-air missiles were launched by Syrian government forces". While both Russia and Syria confirm that Syrian Air Defence fired missiles, they do not appear to have given a concrete number.
The US claim that the S-400/Pantsir system did not fire any missiles.
In line with the US claim, the Russian news by TASS claiming that "70% of missiles were intercepted" as well as Aljazeera only mention the older S-125, S-200, Buk, Kvadrat and Osa air defense systems but not the more modern S-400/Pantsir.
This agrees with their statement that it was the Syrian Air Defence and not Russian units stationed in Syria that engaged the missiles. The Syrian army does not appear to possess the S-400 system.
Intercepted cruise missiles
According to the US, all cruise missiles hit their targets. By contrast, Syrians and Russians claim that 71 missiles were intercepted, again according to both BBC and Aljazeera.
Evaluation
It seems very unlikely that the precise claim is correct, since the US claims the S-400/Pantsir never fired and the Russians do not contradict this. So all sides are in agreement that the S-400 did not play a role.
This is probably impossible to tell. However, the question whether 71 missiles were intercepted has been addressed by other sites and found unlikely to be true.
In the before/after pictures shown by BBC, it is quite obvious that the three structures suffered at least extensive damage. Therefore, even if a number of missiles were intercepted, this probably did not have a major impact on the result of the strike.