If Guru Nanak dev ji want he can even move the planet earth or even the whole universe so who is kaaba in front of him. He is himself God . And God can do anything. Also Guru Nanak ji can speak any language he didn't studied them . Whereever He goes he speak lanuage of that place because of his spirtual powers as he is God himself.