The Bangladesh Coast Guard rescued 317 people, including 47 Rohingya refugees, from a trawler bound for Malaysia off the coast of Teknaf in Cox's Bazar.