Aayan asked 4 weeks ago

The Prophet (ﷺ) said, “Who is ready to kill Ka`b bin Ashraf (i.e. a Jew).” Muhammad bin Maslama replied, “Do you like me to kill him?” The Prophet (ﷺ) replied in the affirmative. Muhammad bin Maslama said, “Then allow me to say what I like.” The Prophet (ﷺ) replied, “I do (i.e. allow you).
Why did prophet(saw) allow lying here?