It is said that in the early 19th century, two holy men went to Kusu Island on a pilgrimage trip. A bond of friendship was forged between the Arab Dato Syed Rahman and the Chinese Yam during their stay on the island. However, Yam became ill one day, and they were running out of their food supplies. Syed Rahman did not abandon his friend and instead stayed and prayed for his recovery.
Miraculously, a boat containing food and water appeared by the shore, and Yam recovered from his illness. The grateful pair returned to Kusu regularly as a gesture of gratitude.