A nine-month-old girl sleeping next to her mother was allegedly taken away and raped by a 12-year-old boy here, police said on Sunday.