It is narrated from Hazrat Abu Hurairah (may Allah be pleased with him) that we were with the Prophet Muhammad (peace and blessings be upon him) on the occasion of Hajj or Umrah when a swarm of locusts appeared on the way. We started striking them with our whips and sticks, and they began to fall one by one in front of us. We thought, since we are in the state of Ihram, what should we do about them? Then we asked the Prophet Muhammad (peace and blessings be upon him), and he said: There is no harm in hunting from the sea.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 8060
Hadith Gradingحکم دارالسلام:إسناده ضعيف جداً ، أبو المهزم متروك الحديث