Simply being told that someone performed an action does not establish the Prophet's ﷺ approval.
• The account must also show that the words or action became known to him ﷺ.
• It must convey his ﷺ approval.
Both are clear in Khalid's account: the Prophet ﷺ was watching and did not forbid him.
Remember the distinction: His ﷺ own action is fiʿl; his ﷺ approval of someone else's action is taqrīr.