 In December 2005, he made his debut for Barisal Division in a List A match against Khulna, and subsequently making his first-class debut against the same side.In January 2013, Ayub received modest media coverage as he and Mehrab Hossain, Jr. recorded the highest partnership in Bangladesh's first-class cricket and the second highest in all-time fifth-wicket stands, Ayub top scoring with 289 in a partnership worth 494 runs.As a result of his consistent performance in first-class cricket, Marshall got a call in the test squad for Bangladesh during the tour of Sri Lanka in 2013.