It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that he said: "The battle cry (that is, the watchword of recognition during battle) of the Prophet (peace and blessings be upon him) used to be 'Ya kulla khayr' (O You who are all good!)."
Hadith Referenceمسند أبي يعلى الموصلي / مسند علي بن أبي طالب رضي الله عنه / 505
Hadith Takhrij«قال سعيد بن محمد السناري: حسن» «أخرجه الضياء في "المختارة" [2/ 315]، وابن عساكر في "تاريخه" [45/ 303، مسند ابویعلیٰ ترقیم الاثری: 500»