لَمْ makes the imperfect jussive and refers to an event that did not happen in the past. In singular forms, the weak medial vowel contracts: لَمْ يَبِعْ.
PositionActive after lamPassive after lam
هُوَلَمْ يَبِعْلَمْ يُبَعْ
هُمَا (م)لَمْ يَبِيعَالَمْ يُبَاعَا
هُمْلَمْ يَبِيعُوالَمْ يُبَاعُوا
هِيَلَمْ تَبِعْلَمْ تُبَعْ
هُمَا (ف)لَمْ تَبِيعَالَمْ تُبَاعَا
هُنَّلَمْ يَبِعْنَلَمْ يُبَعْنَ
أَنْتَلَمْ تَبِعْلَمْ تُبَعْ
أَنْتُمَا (م)لَمْ تَبِيعَالَمْ تُبَاعَا
أَنْتُمْلَمْ تَبِيعُوالَمْ تُبَاعُوا
أَنْتِلَمْ تَبِيعِيلَمْ تُبَاعِي
أَنْتُمَا (ف)لَمْ تَبِيعَالَمْ تُبَاعَا
أَنْتُنَّلَمْ تَبِعْنَلَمْ تُبَعْنَ
أَنَالَمْ أَبِعْلَمْ أُبَعْ
نَحْنُلَمْ نَبِعْلَمْ نُبَعْ
لَمْ يَبِعْ — he did not sell.
لَمْ يُبَعْ — it was not sold.
In لَمْ يَبِيعُوا, the plural wāw is retained but the inflectional nūn disappears; this is different from singular jussive contraction.