Sadruddin Muhammad "Aufi" was a Persian writer who lived in the early 13th century (arriving in India around 1228 AD). His work "Jawami ul-Hikayat wa Jawami ul-Rawayat" (Collection of Stories and Collection of Narratives) contains an anecdote that mentions the use of a magnetic compass by sailors navigating in the Indian Ocean, making it one of the earliest known references to its use in this region.