لَا تُهْمِلْ حَقَّ جَارِكَ.
Do not neglect your neighbor's right.
رَبَّنَا لَا تُؤَاخِذْنَا إِنْ نَسِينَا أَوْ أَخْطَأْنَا.
Our Lord, do not hold us accountable if we forget or err. (Al-Baqarah 2:286)
Both use a negative jussive construction. The first restrains a human addressee from wrongdoing. The Qurʾānic prayer instead makes a supplicatory appeal to God; the supplicant does not exercise authority over the addressee.
Grammatical form may remain the same while the rhetorical speech act changes. The decisive evidence is the speaker–addressee relationship, not a different particle of prohibition.