qnli question: What modern country did Ibn Sina travel to after the end of the Samanid dynasty? sentence: The pay was small, however, so Ibn Sina wandered from place to place through the districts of Nishapur and Merv to the borders of Khorasan, seeking an opening for his talents.