Board Thread:Naruto Discussions/@comment-28581957-20170402195036/@comment-25319479-20170429061329

In the manga the time of his capture is unspecific, but it was either during the time skip or after Gaara's capture.

In the anime it was during the time skip.