It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) engaged in jihad six times before the command of the prayer of fear was revealed. The command of the prayer of fear was revealed in the seventh year.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14751
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد ضعيف لضعف ابن لهيعة، وفي البخاري: 9125 أن النبى صلى بأصحابه فى الخوف فى غزوة السابعة ، غزوة ذات الرقاع