All perfect praise be to Allah, The Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad,
, is His slave and Messenger.
The question is not clear. Lying is to inform of something contrary to what it really is. If this is what happened, then the first person has lied.
Lying is forbidden in principle, and it must be avoided. However, if it is needed as a means to achieve a valid objective that could not be achieved otherwise, then there is no harm in resorting to it. Nonetheless, it is better in all cases to use Tawriyah instead of openly lying. Tawriyah is saying something which has more than one meaning and intending a meaning that is different from what the listener is likely to understand.
Some scholars said that what is meant by lying when reconciling between people is to use Tawriyah, and not explicitly lying.
For more benefit, please refer to fatwas 84728 and 88412.
Allah knows best.