Android phone not displaying SMS sender ID

My Android phone does not show SMS sender ID, for example if one of the friends from my contact list, texts me, my phone will not show the name of the sender (which is saved in my contact list), it just shows the phone numner of the sender.
But when they call me, my phone shows the caller ID name (as saved in my contact list).
Any help fixing this issue will be appreciated.

Thank you