I'm so glad you asked!
If you mean a distinct body of law based on race, no, I'm not familiar with those. However, during the antebellum period most state codes, whether North or South, contained nearly identical laws concerning free persons of color. With few exceptions, they were not allowed to make contracts or establish residency. The emphasis is on the term, 'color', which applied to Africans, Asians, as well as the native people of North, South and Central America and the Carribean Islands.
How many people understand that the underlying reason for Republican opposition to slavery in the territories was race? Until recently I missed it, but Lincoln said so explicitly during his debates with Senator Douglas, and earlier, as quoted here.
Speech at Springfield, Ill., June 26, 1857
Judge Douglas is especially horrified at the thought of the mixing blood by the white and black races: agreed for once—a thousand times agreed.... A separation of the races is the only perfect preventive of amalgamation but as an immediate separation is impossible the next best thing is to keep them apart where they are not already together. If white and black people never get together in Kansas, they will never mix blood in Kansas.
This very Dred Scott case affords a strong test as to which party most favors amalgamation, the Republicans or the dear Union-saving Democracy. Dred Scott, his wife and two daughters were all involved in the suit. We desired the court to have held that they were citizens so far at least as to entitle them to a hearing as to whether they were free or not; and then, also, that they were in fact and in law really free. Could we have had our way, the chances of these black girls, ever mixing their blood with that of white people, would have been diminished at least to the extent that it could not have been without their consent. But Judge Douglas is delighted to have them decided to be slaves, and not human enough to have a hearing, even if they were free, and thus left subject to the forced concubinage of their masters, and liable to become the mothers of mulattoes in spite of themselves—the very state of case that produces nine tenths of all the mulattoes—all the mixing of blood in the nation.
Of course, I state this case as an illustration only, not meaning to say or intimate that the master of Dred Scott and his family, or any more than a percentage of masters generally, are inclined to exercise this particular power which they hold over their female slaves.
I have said that the separation of the races is the only perfect preventive of amalgamation. I have no right to say all the members of the Republican party are in favor of this, nor to say that as a party they are in favor of it. There is nothing in their platform directly on the subject. But I can say a very large proportion of its members are for it, and that the chief plank in their platform—opposition to the spread of slavery—is most favorable to that separation.
Such separation, if ever effected at all, must be effected by colonization; and no political party, as such, is now doing anything directly for colonization. Party operations at present only favor or retard colonization incidentally. The enterprise is a difficult one; but "when there is a will there is a way;" and what colonization needs most is a hearty will. Will springs from the two elements of moral sense and self-interest. Let us be brought to believe it is morally right, and, at the same time, favorable to, or, at least, not against, our interest, to transfer the African to his native clime, and we shall find a way to do it, however great the task may be. The children of Israel, to such numbers as to include four hundred thousand fighting men, went out of Egyptian bondage in a body.