Narrative:

During a preflight walkaround, gear pins were not removed from wheel well. Aircraft's own set of gear pins were stored in the airstair door, but mechanics had put another set in the gear. It was raining and dark, and the flags on the gear pins installed were black and tucked up into the wheel well. The aircraft took off and the gear wouldn't retract. After going over checklists, we returned to the field where it was discovered that the gear pins were installed. They were then removed. Maintenance checked the plane out. A new release was issued and flight resumed.

Google
 

Original NASA ASRS Text

Title: LNDG GEAR WOULD NOT RETRACT AFTER TKOF. GEAR PINS WERE FOUND INSTALLED AFTER RETURN TO LAND WAS COMPLETED.

Narrative: DURING A PREFLT WALKAROUND, GEAR PINS WERE NOT REMOVED FROM WHEEL WELL. ACFT'S OWN SET OF GEAR PINS WERE STORED IN THE AIRSTAIR DOOR, BUT MECHS HAD PUT ANOTHER SET IN THE GEAR. IT WAS RAINING AND DARK, AND THE FLAGS ON THE GEAR PINS INSTALLED WERE BLACK AND TUCKED UP INTO THE WHEEL WELL. THE ACFT TOOK OFF AND THE GEAR WOULDN'T RETRACT. AFTER GOING OVER CHKLISTS, WE RETURNED TO THE FIELD WHERE IT WAS DISCOVERED THAT THE GEAR PINS WERE INSTALLED. THEY WERE THEN REMOVED. MAINT CHKED THE PLANE OUT. A NEW RELEASE WAS ISSUED AND FLT RESUMED.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.