(Which guideth unto righteousness) which guides to the Truth, guidance and right course, i.e. to “there is no deity except Allah”, (so we believe in it) we believe in Muhammad (pbuh) and we believe in the Qur'an (and we ascribe unto our Lord no partner) here meaning the devil.