[Machine] I was with Hakam ibn Amr al-Ghifari when Ali ibn Abi Talib's messenger came to him. Ali ibn Abi Talib said to him, "Indeed, the commander of the faithful says to you that you are the most deserving of those who have assisted us in this matter." Hakam ibn Amr al-Ghifari replied, "I heard my intimate friend, your cousin, the Messenger of Allah ﷺ say, 'When the situation is like this or similar to this, take a sword made of wood.'" Al-Dhahabi remained silent about this in his summary.
كُنْتُ عِنْدَ الْحَكَمِ بْنِ عَمْرٍو الْغِفَارِيِّ إِذْ جَاءَهُ رَسُولُ عَلِيِّ بْنِ أَبِي طَالِبٍ فَقَالَ إِنَّ أَمِيرَ الْمُؤْمِنِينَ يَقُولُ لَكَ إِنَّكَ أَحَقُّ مَنْ أَعَانَنَا عَلَى هَذَا الْأَمْرِ فَقَالَ إِنِّي سَمِعْتُ خَلِيلِي ابْنَ عَمِّكَ رَسُولَ اللَّهِ ﷺ يَقُولُ «إِذَا كَانَ الْأَمْرُ هَكَذَا أَوْ مِثْلَ هَذَا أَنِ اتَّخِذْ سَيْفًا مِنْ خَشَبٍ» سكت عنه الذهبي في التلخيص