Amr T. answered 08/23/19
Professional Banker teaching Accounting, and AP Economics
Hello!
السلام عليكم ايها النبى Your concern would actually be correct if the words used are
السلام عليك ايها النبى However,the correct tashahhud is to say
which indicates that the prayer itself is dedicated to Allah but this particular sentence is a form of praise for the prophet peace be upon him