لَمْ negates the imperfect in the jussive and normally refers to a past non-event:
PronounActive with lamPassive with lam
heلَمْ يَرْمِلَمْ يُرْمَ
they two (m.)لَمْ يَرْمِيَالَمْ يُرْمَيَا
they (m.)لَمْ يَرْمُوالَمْ يُرْمَوْا
sheلَمْ تَرْمِلَمْ تُرْمَ
they two (f.)لَمْ تَرْمِيَالَمْ تُرْمَيَا
they (f.)لَمْ يَرْمِينَلَمْ يُرْمَيْنَ
you (m. sg.)لَمْ تَرْمِلَمْ تُرْمَ
you two (m.)لَمْ تَرْمِيَالَمْ تُرْمَيَا
you (m. pl.)لَمْ تَرْمُوالَمْ تُرْمَوْا
you (f. sg.)لَمْ تَرْمِيلَمْ تُرْمَيْ
you two (f.)لَمْ تَرْمِيَالَمْ تُرْمَيَا
you (f. pl.)لَمْ تَرْمِينَلَمْ تُرْمَيْنَ
Iلَمْ أَرْمِلَمْ أُرْمَ
weلَمْ نَرْمِلَمْ نُرْمَ
لَمْ يَرْمِ: he did not throw.
لَمْ يُرْمَ: he/it was not thrown.
The singular jussive active drops the final yāʾ: يَرْمِي → يَرْمِ. The passive drops its weak alif: يُرْمَى → يُرْمَ. The remaining kasrah/fatḥah helps distinguish the two forms.