Why is the article lām assimilated in «بِالدِّينِ»?

Al-Māʿūn and Al-Humazah: Applied Assimilation, Concealment, Madd and Hāʾ Rules