A yarmulke is a Jewish vestment and wearing one in your dream represents your closeness with the religion.