The impressive 24-year-old has been handed a chance by the Malaysia-owned Bluebirds, with chairman Datuk Chan Tian Gee revealing his admiration for the ambitious midfielder
The 24-year-old Selangor man, who has been laden with offers from Indonesian Super League clubs, has been handed a three-week trial with the Welsh side.
Rahim, who held talks with Cardiff City chairman Datuk Chan Tian Gee, will spend three weeks on trial with the club managed by Malky Mackay.
"I am very excited. With an open heart, I will take this offer and give it my best and do Malaysia proud," Rahim said.
"It's not every day an oppurtunity like this comes knocking your door, especially for a Malaysian. So, I'm fully intent on seizing this chance and making the most of what will be offered to me."
The club is owned by Malaysian businessman Tan Sri Vincent Tan who took over the team in May last year with the sole aim of qualifying for the coveted Premier League.
Meanwhile, Datuk Chan said he was optimistic that the trials would be a stepping stone for Malaysia as the country continued their steady momentum to relive its glory days.
"We are glad Safiq has accepted our offer for a trial with the first team and we hope that everything turns out well for the lad," he said.
"He's young and ambitious, which makes him being able to make the cut with the team."