I have heard some people say that the Prophet Muhammad (s) was all wise and all knowing. I believe this attribute is only for Almighty Allah (SWT). Could you please clarify this matter?
Bismillah,
Asalamu Alaykom,
Only Allah swt is All Knowing and no creation can know the reality of His essence. The Prophet Mohammad (sawa) was however given divinely inspired knowledge and revelation from Allah swt. He was also given knowledge from the unseen,
May Allah grant you success